|
10 | 10 | "module": "./build/index.js", |
11 | 11 | "types": "./build/index.d.ts", |
12 | 12 | "sideEffects": false, |
| 13 | + "exports": { |
| 14 | + ".": { |
| 15 | + "types": "./build/index.d.ts", |
| 16 | + "import": "./build/index.js" |
| 17 | + }, |
| 18 | + "./build/third-party/code": { |
| 19 | + "types": "./build//third-party/code.d.ts", |
| 20 | + "import": "./build//third-party/code.js" |
| 21 | + }, |
| 22 | + "./build/third-party/collection": { |
| 23 | + "types": "./build//third-party/collection.d.ts", |
| 24 | + "import": "./build//third-party/collection.js" |
| 25 | + }, |
| 26 | + "./build/third-party/equation": { |
| 27 | + "types": "./build//third-party/equation.d.ts", |
| 28 | + "import": "./build//third-party/equation.js" |
| 29 | + }, |
| 30 | + "./build/third-party/modal": { |
| 31 | + "types": "./build//third-party/modal.d.ts", |
| 32 | + "import": "./build//third-party/modal.js" |
| 33 | + }, |
| 34 | + "./build/third-party/pdf": { |
| 35 | + "types": "./build//third-party/pdf.d.ts", |
| 36 | + "import": "./build//third-party/pdf.js" |
| 37 | + }, |
| 38 | + "./styles.css": "./src/styles.css", |
| 39 | + "./src/styles.css": "./src/styles.css" |
| 40 | + }, |
13 | 41 | "files": [ |
14 | 42 | "build", |
15 | 43 | "src/styles.css" |
|
20 | 48 | "scripts": { |
21 | 49 | "build": "tsup", |
22 | 50 | "watch": "tsup --watch --silent --onSuccess 'echo build successful'", |
| 51 | + "clean": "del build", |
23 | 52 | "test": "run-s test:*", |
24 | 53 | "test:lint": "eslint .", |
25 | 54 | "test:typecheck": "tsc --noEmit" |
|
0 commit comments