|
39 | 39 | "exports": {
|
40 | 40 | ".": {
|
41 | 41 | "require": "./build/cjs/index.js",
|
42 |
| - "import": "./build/esm/index.js", |
43 |
| - "types": "./build/typings/index.d.ts" |
| 42 | + "import": "./build/esm/index.js" |
44 | 43 | }
|
45 | 44 | },
|
46 | 45 | "main": "./build/cjs/index.js",
|
47 | 46 | "module": "./build/esm/index.js",
|
48 |
| - "types": "./build/typings/index.d.ts", |
49 | 47 | "files": [
|
50 | 48 | "./build"
|
51 | 49 | ],
|
52 | 50 | "scripts": {
|
53 | 51 | "prebuild": "npm run clean && npm run check:version",
|
54 |
| - "build": "npx tsc --build ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.typings.json", |
55 |
| - "postbuild": "npx shx rm ./build/typings/browser-shim.d.ts && npx shx cp ./src/browser-shim.ts ./build/typings && npx ts-node ./scripts/package.json.ts", |
| 52 | + "build": "npx tsc --build ./tsconfig.cjs.json ./tsconfig.cjs.d.json ./tsconfig.esm.json ./tsconfig.esm.d.json", |
| 53 | + "postbuild": "npx shx rm ./build/*/browser-shim.d.ts && npx shx cp ./src/browser-shim.ts ./build/cjs && npx shx cp ./src/browser-shim.ts ./build/esm && npx ts-node ./scripts/package.json.ts", |
56 | 54 | "prebuild:benchmarks": "npm run clean",
|
57 | 55 | "build:benchmarks": "npx tsc --project ./benchmarks/tsconfig.json",
|
58 | 56 | "build:examples": "npm run --prefix ./examples build",
|
|
65 | 63 | "check:type": "npx npm-run-all --npm-path npm \"check:type:*\"",
|
66 | 64 | "check:type:cjs": "npx tsc --project ./tsconfig.cjs.json --noEmit",
|
67 | 65 | "check:type:esm": "npx tsc --project ./tsconfig.esm.json --noEmit",
|
68 |
| - "check:type:typings": "npx tsc --project ./tsconfig.typings.json --noEmit --emitDeclarationOnly false", |
69 | 66 | "check:type:benchmarks": "npx tsc --project ./benchmarks/tsconfig.json --noEmit",
|
70 |
| - "precheck:type:examples": "npx tsc --project ./tsconfig.typings.json", |
71 | 67 | "check:type:examples": "npx tsc --project ./examples/tsconfig.json --noEmit",
|
72 | 68 | "check:type:scripts": "npx tsc --project ./scripts/tsconfig.json --noEmit",
|
73 | 69 | "check:version": "npx ts-node ./scripts/version.ts",
|
|
0 commit comments