|
8 | 8 | "sideEffects": false,
|
9 | 9 | "scripts": {
|
10 | 10 | "bootstrap": "yarn && cd demo && yarn #TODO: change after migration",
|
11 |
| - "build": "yarn build:worker && run-p build:core build:types", |
12 |
| - "build:extras": "NODE_ENV=production yarn build:all", |
13 |
| - "build:dev": "NODE_ENV=development yarn build:all", |
14 |
| - "build:all": "run-s clean build:worker build:core", |
15 |
| - "build:core": "yarn build:actualRollup --config rollup.npm.config.js", |
16 |
| - "build:worker": "yarn build:actualRollup --config rollup.config.worker.js", |
17 |
| - "build:actualRollup": "rollup", |
18 |
| - "build:watch": "NODE_ENV=production yarn build:all:watch", |
19 |
| - "build:dev:watch": "NODE_ENV=development yarn build:all:watch", |
20 |
| - "build:all:watch": "yarn clean && run-p \"build:worker --watch\" \"build:core --watch\"", |
| 11 | + "build:extras": "yarn build #TODO rename to build:rollup once we're running in parallel", |
| 12 | + "build": "run-s build:worker && run-p build:core build:types", |
| 13 | + "build:dev": "run-s build #TODO adjust after adding CDN bundles", |
| 14 | + "build:worker": "rollup -c rollup.config.worker.js", |
| 15 | + "build:core": "rollup -c rollup.npm.config.js", |
21 | 16 | "build:types": "tsc -p tsconfig.types.json",
|
| 17 | + "build:watch": "run-p \"build:worker --watch\" \"build:core --watch\" build:types:watch", |
| 18 | + "build:dev:watch": "yarn build:watch #TODO adjust after adding CDN bundles", |
| 19 | + "build:types:watch": "tsc -p tsconfig.types.json --watch", |
22 | 20 | "build:npm": "ts-node ../../scripts/prepack.ts --bundles && npm pack ./build/npm",
|
23 | 21 | "circularDepCheck": "#TODO comment in after migration: madge --circular src/index.ts",
|
24 | 22 | "clean": "rimraf build sentry-replay-*.tgz",
|
|
0 commit comments