Skip to content

Commit 2e0aa58

Browse files
committed
fix: ports the npmignore from v5 to master
1 parent 6d013bb commit 2e0aa58

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

.npmignore

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-
test
2-
coverage
3-
circle.yml
4-
webpack.config.js
1+
# This file is written to be an allowlist instead of a disallow. Start by ignoring everything,
2+
# then add back the files we want to be included in the final NPM package:
3+
*
4+
5+
# These are the files that are allowed:
6+
!/CHANGELOG.md
7+
!/dist/**/*
8+
!/LICENSE
9+
!/package.json
10+
!/prop_types.js
11+
!/README.md
12+
!/src/**/*
13+
!/types/**/*
14+
!/UPGRADE_GUIDE.md
15+
16+
# Here we exclude files that we pulled in from above that should be removed
17+
.DS_Store
18+
types/.eslintrc
19+
types/demo

0 commit comments

Comments
 (0)