|
2 | 2 | "name": "@sentry/replay",
|
3 | 3 | "version": "7.22.0",
|
4 | 4 | "description": "User replays for Sentry",
|
5 |
| - "main": "build/npm/dist/index.js", |
6 |
| - "module": "build/npm/dist/index.es.js", |
7 |
| - "types": "build/npm/dist/src/index.d.ts", |
| 5 | + "main": "build/npm/cjs/index.js", |
| 6 | + "module": "build/npm/esm/index.js", |
| 7 | + "types": "build/npm/types/src/index.d.ts", |
8 | 8 | "sideEffects": false,
|
9 | 9 | "scripts": {
|
10 | 10 | "bootstrap": "yarn && cd demo && yarn #TODO: change after migration",
|
11 |
| - "build": "yarn build:extras", |
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 config/rollup.config.core.ts", |
16 |
| - "build:worker": "yarn build:actualRollup --config config/rollup.config.worker.ts", |
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:rollup": "run-s build:worker build:core", |
| 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", |
| 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", |
21 | 20 | "build:npm": "ts-node ../../scripts/prepack.ts --bundles && npm pack ./build/npm",
|
22 | 21 | "circularDepCheck": "#TODO comment in after migration: madge --circular src/index.ts",
|
23 | 22 | "clean": "rimraf build sentry-replay-*.tgz",
|
|
0 commit comments