Skip to content

Commit bea29c4

Browse files
committed
streamline and adjust package.json scripts
1 parent 5764f9d commit bea29c4

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

packages/replay/package.json

+8-10
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,15 @@
88
"sideEffects": false,
99
"scripts": {
1010
"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",
2116
"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",
2220
"build:npm": "ts-node ../../scripts/prepack.ts --bundles && npm pack ./build/npm",
2321
"circularDepCheck": "#TODO comment in after migration: madge --circular src/index.ts",
2422
"clean": "rimraf build sentry-replay-*.tgz",

0 commit comments

Comments
 (0)