Skip to content

Commit d74f679

Browse files
committed
fix: remove flow folders and hidden files from release bundle shipped to npm
1 parent af1d07a commit d74f679

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.npmignore

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
.babelrc
2+
.bumpedrc
23
.eslintignore
4+
.eslintrc.js
5+
.flowconfig
36
.github
7+
.nyc_output
8+
.travis.yml
49
examples
5-
src
10+
flow
11+
flow-typed
612
yarn.lock
13+
yarn-error.log
14+
yarn-debug.log
715
scripts
16+
src

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@
7676
"engines": {
7777
"node": ">=6"
7878
},
79+
"files": [
80+
"lib",
81+
"module"
82+
],
7983
"prettier": {
8084
"bracketSpacing": true,
8185
"singleQuote": true,

0 commit comments

Comments
 (0)