Skip to content

Commit e510018

Browse files
jonkoopsrolandjitsu
authored andcommitted
fix: replace .npmignore with files field
Signed-off-by: Jon Koops <[email protected]>
1 parent ccf22e8 commit e510018

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.npmignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"main": "dist/index.js",
66
"module": "dist/es/index.js",
77
"types": "index.d.ts",
8+
"files": [
9+
"dist",
10+
"index.d.ts"
11+
],
812
"scripts": {
913
"clean": "rimraf ./dist",
1014
"build": "npm run clean && npm run build:cjs && npm run build:es",

0 commit comments

Comments
 (0)