Skip to content

Commit 336b2b8

Browse files
chore(npm): add "files" to package.json and remove .npmignore
Use "files" to whitelist what gets published instead of using .npmignore to blacklist what gets published.
1 parent 36dd8fc commit 336b2b8

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

.npmignore

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

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,9 @@
5252
"peerDependencies": {
5353
"react": "^0.14 || ^15 || ^16"
5454
},
55+
"files": [
56+
"dist",
57+
"lib"
58+
],
5559
"license": "MIT"
5660
}

0 commit comments

Comments
 (0)