|
14 | 14 | "module": "dist/index.esm.js", |
15 | 15 | "types": "dist/index.d.ts", |
16 | 16 | "files": [ |
17 | | - "dist" |
| 17 | + "dist", |
| 18 | + "README.md", |
| 19 | + "LICENSE" |
18 | 20 | ], |
19 | 21 | "scripts": { |
20 | 22 | "clean": "rimraf dist node_modules package-lock.json && npm cache clean --force && npm i", |
|
31 | 33 | "@eslint/js": "^9.25.1", |
32 | 34 | "@rollup/plugin-commonjs": "^28.0.3", |
33 | 35 | "@rollup/plugin-node-resolve": "^16.0.1", |
34 | | - "@rollup/plugin-typescript": "", |
| 36 | + "@rollup/plugin-typescript": "^11.1.3", |
35 | 37 | "@svgr/rollup": "^8.1.0", |
36 | 38 | "@types/react": "^19.1.0", |
37 | 39 | "@types/react-dom": "^19.1.1", |
|
63 | 65 | }, |
64 | 66 | "homepage": "https://github.com/tsb04/universal-svg-icons#readme", |
65 | 67 | "dependencies": { |
66 | | - "lru-cache": "^11.1.0", |
67 | | - "universal-svg-icon": "file:" |
| 68 | + "lru-cache": "^11.1.0" |
68 | 69 | }, |
69 | | - "type": "module" |
| 70 | + "type": "module", |
| 71 | + "exports": { |
| 72 | + ".": { |
| 73 | + "import": "./dist/index.mjs", |
| 74 | + "require": "./dist/index.cjs", |
| 75 | + "types": "./dist/index.d.ts" |
| 76 | + }, |
| 77 | + "./path": { |
| 78 | + "import": "./dist/path.mjs", |
| 79 | + "require": "./dist/path.cjs", |
| 80 | + "types": "./dist/path.d.ts" |
| 81 | + } |
| 82 | + } |
70 | 83 | } |
0 commit comments