Skip to content
This repository was archived by the owner on Mar 25, 2026. It is now read-only.

Commit e4308cc

Browse files
committed
Update package.json
1 parent 274ac7f commit e4308cc

2 files changed

Lines changed: 23 additions & 15 deletions

File tree

package-lock.json

Lines changed: 5 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
"module": "dist/index.esm.js",
1515
"types": "dist/index.d.ts",
1616
"files": [
17-
"dist"
17+
"dist",
18+
"README.md",
19+
"LICENSE"
1820
],
1921
"scripts": {
2022
"clean": "rimraf dist node_modules package-lock.json && npm cache clean --force && npm i",
@@ -31,7 +33,7 @@
3133
"@eslint/js": "^9.25.1",
3234
"@rollup/plugin-commonjs": "^28.0.3",
3335
"@rollup/plugin-node-resolve": "^16.0.1",
34-
"@rollup/plugin-typescript": "",
36+
"@rollup/plugin-typescript": "^11.1.3",
3537
"@svgr/rollup": "^8.1.0",
3638
"@types/react": "^19.1.0",
3739
"@types/react-dom": "^19.1.1",
@@ -63,8 +65,19 @@
6365
},
6466
"homepage": "https://github.com/tsb04/universal-svg-icons#readme",
6567
"dependencies": {
66-
"lru-cache": "^11.1.0",
67-
"universal-svg-icon": "file:"
68+
"lru-cache": "^11.1.0"
6869
},
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+
}
7083
}

0 commit comments

Comments
 (0)