|
5 | 5 | "author": "Mark <mark@remarkablemark.org>", |
6 | 6 | "main": "./lib/index.js", |
7 | 7 | "module": "./esm/index.mjs", |
8 | | - "types": "./lib/index.d.ts", |
9 | 8 | "exports": { |
10 | 9 | ".": { |
11 | | - "types": "./lib/index.d.ts", |
12 | 10 | "import": "./esm/index.mjs", |
13 | 11 | "require": "./lib/index.js" |
14 | 12 | }, |
15 | 13 | "./lib/client/*": { |
16 | | - "types": "./lib/client/*.d.ts", |
17 | 14 | "import": "./esm/client/*.mjs", |
18 | 15 | "require": "./lib/client/*.js" |
19 | 16 | }, |
20 | 17 | "./lib/server/*": { |
21 | | - "types": "./lib/server/*.d.ts", |
22 | 18 | "import": "./esm/server/*.mjs", |
23 | 19 | "require": "./lib/server/*.js" |
24 | 20 | } |
25 | 21 | }, |
26 | 22 | "scripts": { |
27 | | - "build": "run-p build:*", |
| 23 | + "build": "run-s build:*", |
28 | 24 | "build:cjs": "tsc", |
| 25 | + "build:esm": "awk '!/sourceMappingURL/' lib/types.d.ts > esm/types.ts", |
29 | 26 | "build:umd": "rollup --config --failAfterWarnings", |
30 | 27 | "clean": "rm -rf .nyc_output coverage dist lib", |
31 | 28 | "lint": "eslint . --ignore-path .gitignore", |
|
0 commit comments