|
9 | 9 | "engines": { |
10 | 10 | "node": ">=8" |
11 | 11 | }, |
12 | | - "main": "build/npm/cjs/index.js", |
13 | | - "module": "build/npm/esm/index.js", |
14 | | - "types": "build/npm/types/index.d.ts", |
| 12 | + "main": "npm/cjs/index.js", |
| 13 | + "module": "npm/esm/index.js", |
| 14 | + "types": "npm/types/index.d.ts", |
15 | 15 | "exports": { |
16 | 16 | ".": { |
17 | | - "import": "./build/npm/esm/index.js", |
18 | | - "require": "./build/npm/cjs/index.js", |
19 | | - "types": "./build/npm/types/index.d.ts" |
| 17 | + "import": "./npm/esm/index.js", |
| 18 | + "require": "./npm/cjs/index.js", |
| 19 | + "types": "./npm/types/index.d.ts" |
20 | 20 | }, |
21 | 21 | "./node": { |
22 | | - "import": "./build/npm/esm/node/index.js", |
23 | | - "require": "./build/npm/cjs/node/index.js", |
24 | | - "types": "./build/npm/types/node/index.d.ts" |
| 22 | + "import": "./npm/esm/node/index.js", |
| 23 | + "require": "./npm/cjs/node/index.js", |
| 24 | + "types": "./npm/types/node/index.d.ts" |
25 | 25 | }, |
26 | 26 | "./browser": { |
27 | | - "import": "./build/npm/esm/browser/index.js", |
28 | | - "require": "./build/npm/cjs/browser/index.js", |
29 | | - "types": "./build/npm/types/browser/index.d.ts" |
| 27 | + "import": "./npm/esm/browser/index.js", |
| 28 | + "require": "./npm/cjs/browser/index.js", |
| 29 | + "types": "./npm/types/browser/index.d.ts" |
30 | 30 | } |
31 | 31 | }, |
32 | 32 | "typesVersions": { |
33 | 33 | "*": { |
34 | 34 | "*": [ |
35 | | - "build/npm/types/index.d.ts" |
| 35 | + "npm/types/index.d.ts" |
36 | 36 | ], |
37 | 37 | "node": [ |
38 | | - "./build/npm/types/node/index.d.ts" |
| 38 | + "./npm/types/node/index.d.ts" |
39 | 39 | ], |
40 | 40 | "browser": [ |
41 | | - "./build/npm/types/browser/index.d.ts" |
| 41 | + "./npm/types/browser/index.d.ts" |
42 | 42 | ] |
43 | 43 | } |
44 | 44 | }, |
|
66 | 66 | "build:dev:watch": "run-p build:transpile:watch build:types:watch", |
67 | 67 | "build:transpile:watch": "rollup -c rollup.npm.config.js --watch", |
68 | 68 | "build:types:watch": "tsc -p tsconfig.types.json --watch", |
69 | | - "build:tarball": "ts-node ../../scripts/prepack.ts --bundles && npm pack ./build/npm", |
| 69 | + "build:tarball": "ts-node ../../scripts/prepack.ts --bundles && npm pack ./npm", |
70 | 70 | "clean": "rimraf build coverage sentry-tracing-*.tgz", |
71 | 71 | "circularDepCheck": "madge --circular src/index.ts", |
72 | 72 | "fix": "run-s fix:eslint fix:prettier", |
|
0 commit comments