|
14 | 14 | ], |
15 | 15 | "main": "build/npm/cjs/index.js", |
16 | 16 | "module": "build/npm/esm/index.js", |
17 | | - "types": "build/npm/types/index.d.ts", |
| 17 | + "types": "build/npm/esm/index.d.ts", |
18 | 18 | "exports": { |
19 | 19 | "./package.json": "./package.json", |
20 | 20 | ".": { |
21 | 21 | "import": { |
22 | | - "types": "./build/npm/types/index.d.ts", |
| 22 | + "types": "./build/npm/esm/index.d.ts", |
23 | 23 | "default": "./build/npm/esm/index.js" |
24 | 24 | }, |
25 | 25 | "require": { |
26 | | - "types": "./build/npm/types/index.d.ts", |
| 26 | + "types": "./build/npm/esm/index.d.ts", |
27 | 27 | "default": "./build/npm/cjs/index.js" |
28 | 28 | } |
29 | 29 | } |
30 | 30 | }, |
31 | 31 | "typesVersions": { |
32 | 32 | "<5.0": { |
33 | | - "build/npm/types/index.d.ts": [ |
| 33 | + "build/npm/esm/index.d.ts": [ |
34 | 34 | "build/npm/types-ts3.8/index.d.ts" |
35 | 35 | ] |
36 | 36 | } |
|
49 | 49 | "build:transpile": "rolldown -c rollup.npm.config.mjs", |
50 | 50 | "build:bundle": "rolldown -c rollup.bundle.config.mjs", |
51 | 51 | "build:dev": "run-p build:transpile build:types", |
52 | | - "build:types": "run-s build:types:core build:types:downlevel", |
53 | | - "build:types:core": "tsc -p tsconfig.types.json", |
54 | | - "build:types:downlevel": "yarn downlevel-dts build/npm/types build/npm/types-ts3.8 --to ts3.8 && yarn node ./scripts/shim-preact-export.js", |
| 52 | + "build:types": "yarn downlevel-dts build/npm/esm build/npm/types-ts3.8 --to ts3.8 && yarn node ./scripts/shim-preact-export.js", |
55 | 53 | "build:watch": "run-p build:transpile:watch build:bundle:watch build:types:watch", |
56 | 54 | "build:dev:watch": "run-p build:transpile:watch build:types:watch", |
57 | 55 | "build:transpile:watch": "yarn build:transpile --watch", |
58 | 56 | "build:bundle:watch": "yarn build:bundle --watch", |
59 | | - "build:types:watch": "tsc -p tsconfig.types.json --watch", |
60 | 57 | "build:tarball": "npm pack", |
61 | 58 | "circularDepCheck": "madge --circular src/index.ts", |
62 | 59 | "clean": "rimraf build sentry-internal-feedback-*.tgz", |
|
0 commit comments