|
21 | 21 | "@angular/router": "10.x || 11.x || 12.x || 13.x"
|
22 | 22 | },
|
23 | 23 | "dependencies": {
|
24 |
| - "@sentry/browser": "^6.18.0", |
25 |
| - "@sentry/types": "^6.18.0", |
26 |
| - "@sentry/utils": "^6.18.0", |
| 24 | + "@sentry/browser": "6.18.0", |
| 25 | + "@sentry/types": "6.18.0", |
| 26 | + "@sentry/utils": "6.18.0", |
27 | 27 | "rxjs": "^6.6.0",
|
28 | 28 | "tslib": "^2.0.0"
|
29 | 29 | },
|
|
44 | 44 | "zone.js": "~0.10.2"
|
45 | 45 | },
|
46 | 46 | "scripts": {
|
47 |
| - "build": "run-p build:esm #**not necessary** build:cjs", |
48 |
| - "build:cjs": "#**not necessary** tsc -p tsconfig.cjs.json", |
| 47 | + "build": "run-p build:ngc", |
| 48 | + "build:legacy": "run-p build:esm build:cjs", |
| 49 | + "build:cjs": "tsc -p tsconfig.cjs.json", |
49 | 50 | "build:dev": "run-s build",
|
50 |
| - "build:es5": "#**not necessary** yarn build:cjs # *** backwards compatibility - remove in v7 ***", |
51 |
| - "build:esm": "ng build --prod", |
52 |
| - "build:watch": "run-p build:esm:watch #build:cjs:watch", |
53 |
| - "build:cjs:watch": "#**not necessary** tsc -p tsconfig.cjs.json --watch", |
| 51 | + "build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***", |
| 52 | + "build:esm": "tsc -p tsconfig.esm.json", |
| 53 | + "build:ngc": "ng build --prod", |
| 54 | + "build:watch": "run-p build:ngc:watch", |
| 55 | + "build:legacy:watch": "run-p build:esm:watch build:cjs:watch", |
| 56 | + "build:cjs:watch": "tsc -p tsconfig.cjs.json --watch", |
54 | 57 | "build:dev:watch": "run-s build:watch",
|
55 |
| - "build:es5:watch": "#**not necessary** yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***", |
56 |
| - "build:esm:watch": "ng build --prod --watch", |
57 |
| - "circularDepCheck": "madge --circular projects/sentry-angular/src/index.ts #TODO change to final index path!!", |
| 58 | + "build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***", |
| 59 | + "build:esm:watch": "tsc -p tsconfig.esm.json --watch", |
| 60 | + "build:ngc:watch": "ng build --prod --watch", |
| 61 | + "circularDepCheck": "madge --circular src/index.ts", |
58 | 62 | "clean": "rimraf dist esm build coverage",
|
59 | 63 | "fix": "run-s fix:eslint fix:prettier",
|
60 | 64 | "fix:eslint": "eslint . --format stylish --fix",
|
|
63 | 67 | "lint": "run-s lint:prettier lint:eslint",
|
64 | 68 | "lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
|
65 | 69 | "lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
|
66 |
| - "pack": "cd ./dist && npm pack" |
| 70 | + "pack": "cd ./dist && npm pack", |
| 71 | + "pack:legacy": "npm pack" |
67 | 72 | },
|
68 | 73 | "volta": {
|
69 | 74 | "extends": "../../package.json"
|
|
0 commit comments