Skip to content

Commit

Permalink
streamline and adjust package.json scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Lms24 committed Nov 30, 2022
1 parent 0b5583f commit a93cd23
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions packages/replay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,15 @@
"sideEffects": false,
"scripts": {
"bootstrap": "yarn && cd demo && yarn #TODO: change after migration",
"build": "yarn build:worker && run-p build:core build:types",
"build:extras": "NODE_ENV=production yarn build:all",
"build:dev": "NODE_ENV=development yarn build:all",
"build:all": "run-s clean build:worker build:core",
"build:core": "yarn build:actualRollup --config rollup.npm.config.js",
"build:worker": "yarn build:actualRollup --config rollup.config.worker.js",
"build:actualRollup": "rollup",
"build:watch": "NODE_ENV=production yarn build:all:watch",
"build:dev:watch": "NODE_ENV=development yarn build:all:watch",
"build:all:watch": "yarn clean && run-p \"build:worker --watch\" \"build:core --watch\"",
"build:extras": "yarn build #TODO rename to build:rollup once we're running in parallel",
"build": "run-s build:worker && run-p build:core build:types",
"build:dev": "run-s build #TODO adjust after adding CDN bundles",
"build:worker": "rollup -c rollup.config.worker.js",
"build:core": "rollup -c rollup.npm.config.js",
"build:types": "tsc -p tsconfig.types.json",
"build:watch": "run-p \"build:worker --watch\" \"build:core --watch\" build:types:watch",
"build:dev:watch": "yarn build:watch #TODO adjust after adding CDN bundles",
"build:types:watch": "tsc -p tsconfig.types.json --watch",
"build:npm": "ts-node ../../scripts/prepack.ts --bundles && npm pack ./build/npm",
"circularDepCheck": "#TODO comment in after migration: madge --circular src/index.ts",
"clean": "rimraf build sentry-replay-*.tgz",
Expand Down

0 comments on commit a93cd23

Please sign in to comment.