|
15 | 15 | "types",
|
16 | 16 | "types-ts3.8"
|
17 | 17 | ],
|
18 |
| - "main": "build/npm/cjs/index.js", |
19 |
| - "module": "build/npm/esm/index.js", |
20 |
| - "types": "build/npm/types/index.d.ts", |
| 18 | + "main": "build/cjs/index.js", |
| 19 | + "module": "build/esm/index.js", |
| 20 | + "types": "build/types/index.d.ts", |
21 | 21 | "typesVersions": {
|
22 | 22 | "<4.9": {
|
23 |
| - "build/npm/types/index.d.ts": [ |
24 |
| - "build/npm/types-ts3.8/index.d.ts" |
| 23 | + "build/types/index.d.ts": [ |
| 24 | + "build/types-ts3.8/index.d.ts" |
25 | 25 | ]
|
26 | 26 | }
|
27 | 27 | },
|
|
33 | 33 | "@sentry/utils": "7.100.0"
|
34 | 34 | },
|
35 | 35 | "scripts": {
|
36 |
| - "build": "run-p build:transpile build:types build:bundle", |
37 |
| - "build:bundle": "run-p build:bundle:es5 build:bundle:es6", |
38 |
| - "build:bundle:es5": "JS_VERSION=es5 rollup -c rollup.bundle.config.mjs", |
39 |
| - "build:bundle:es6": "JS_VERSION=es6 rollup -c rollup.bundle.config.mjs", |
| 36 | + "build": "run-p build:transpile build:types", |
40 | 37 | "build:dev": "yarn build",
|
41 | 38 | "build:transpile": "rollup -c rollup.npm.config.mjs",
|
42 | 39 | "build:types": "run-s build:types:core build:types:downlevel",
|
43 | 40 | "build:types:core": "tsc -p tsconfig.types.json",
|
44 |
| - "build:types:downlevel": "yarn downlevel-dts build/npm/types build/npm/types-ts3.8 --to ts3.8", |
| 41 | + "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", |
45 | 42 | "build:watch": "run-p build:transpile:watch build:types:watch",
|
46 | 43 | "build:dev:watch": "yarn build:watch",
|
47 | 44 | "build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
|
48 | 45 | "build:types:watch": "tsc -p tsconfig.types.json --watch",
|
49 |
| - "build:tarball": "ts-node ../../scripts/prepack.ts --bundles && npm pack ./build/npm", |
| 46 | + "build:tarball": "ts-node ../../scripts/prepack.ts && npm pack ./build", |
50 | 47 | "circularDepCheck": "madge --circular src/index.ts",
|
51 | 48 | "clean": "rimraf build coverage sentry-core-*.tgz",
|
52 | 49 | "fix": "eslint . --format stylish --fix",
|
53 | 50 | "lint": "eslint . --format stylish",
|
54 | 51 | "test": "jest",
|
55 | 52 | "test:watch": "jest --watch",
|
56 | 53 | "version": "node ../../scripts/versionbump.js src/version.ts",
|
57 |
| - "yalc:publish": "ts-node ../../scripts/prepack.ts --bundles && yalc publish build/npm --push --sig" |
| 54 | + "yalc:publish": "ts-node ../../scripts/prepack.ts && yalc publish build --push --sig" |
58 | 55 | },
|
59 | 56 | "volta": {
|
60 | 57 | "extends": "../../package.json"
|
|
0 commit comments