|
9 | 9 | "engines": {
|
10 | 10 | "node": ">=8"
|
11 | 11 | },
|
12 |
| - "main": "cjs/index.js", |
13 |
| - "module": "esm/index.js", |
14 |
| - "types": "build/types/index.d.ts", |
| 12 | + "main": "build/bundles/sentry-angular.umd.js", |
| 13 | + "module": "build/fesm2015/sentry-angular.js", |
15 | 14 | "publishConfig": {
|
16 | 15 | "access": "public"
|
17 | 16 | },
|
18 | 17 | "peerDependencies": {
|
19 | 18 | "@angular/common": "10.x || 11.x || 12.x || 13.x",
|
20 | 19 | "@angular/core": "10.x || 11.x || 12.x || 13.x",
|
21 |
| - "@angular/router": "10.x || 11.x || 12.x || 13.x" |
| 20 | + "@angular/router": "10.x || 11.x || 12.x || 13.x", |
| 21 | + "rxjs": "^6.5.5 || ^7.x" |
22 | 22 | },
|
23 | 23 | "dependencies": {
|
24 | 24 | "@sentry/browser": "7.0.0-alpha.1",
|
25 | 25 | "@sentry/types": "7.0.0-alpha.1",
|
26 | 26 | "@sentry/utils": "7.0.0-alpha.1",
|
27 |
| - "rxjs": "^6.6.0", |
28 |
| - "tslib": "^1.9.3" |
| 27 | + "tslib": "^2.0.0" |
29 | 28 | },
|
30 | 29 | "devDependencies": {
|
31 |
| - "@angular/common": "^10.0.3", |
32 |
| - "@angular/core": "^10.0.3", |
33 |
| - "@angular/router": "^10.0.3" |
| 30 | + "@angular-devkit/build-angular": "~0.1002.4", |
| 31 | + "@angular/cli": "^10.2.4", |
| 32 | + "@angular/common": "~10.2.5", |
| 33 | + "@angular/compiler": "^10.2.5", |
| 34 | + "@angular/compiler-cli": "~10.2.5", |
| 35 | + "@angular/core": "~10.2.5", |
| 36 | + "@angular/router": "~10.2.5", |
| 37 | + "ng-packagr": "^10.1.0", |
| 38 | + "typescript": "~4.0.2" |
34 | 39 | },
|
35 | 40 | "scripts": {
|
36 |
| - "build": "run-p build:cjs build:esm build:types", |
37 |
| - "build:cjs": "tsc -p tsconfig.cjs.json", |
| 41 | + "build": "yarn build:ngc", |
| 42 | + "build:ngc": "ng build --prod", |
38 | 43 | "build:dev": "run-s build",
|
39 |
| - "build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***", |
40 |
| - "build:esm": "tsc -p tsconfig.esm.json", |
41 |
| - "build:types": "tsc -p tsconfig.types.json", |
42 |
| - "build:watch": "run-p build:cjs:watch build:esm:watch build:types:watch", |
43 |
| - "build:cjs:watch": "tsc -p tsconfig.cjs.json --watch", |
44 |
| - "build:dev:watch": "run-s build:watch", |
45 |
| - "build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***", |
46 |
| - "build:esm:watch": "tsc -p tsconfig.esm.json --watch", |
47 |
| - "build:types:watch": "tsc -p tsconfig.types.json --watch", |
48 |
| - "build:npm": "npm pack", |
| 44 | + "build:watch": "run-p build:ngc:watch", |
| 45 | + "build:ngc:watch": "ng build --prod --watch", |
| 46 | + "build:npm": "npm pack ./build", |
49 | 47 | "circularDepCheck": "madge --circular src/index.ts",
|
50 |
| - "clean": "rimraf cjs esm build coverage", |
| 48 | + "clean": "rimraf build coverage", |
51 | 49 | "fix": "run-s fix:eslint fix:prettier",
|
52 | 50 | "fix:eslint": "eslint . --format stylish --fix",
|
53 | 51 | "fix:prettier": "prettier --write \"{src,test,scripts}/**/*.ts\"",
|
|
0 commit comments