Skip to content

Commit 7dc3ba3

Browse files
authored
chore: use files entry instead of npmignore; reduce publish size (#371)
1 parent 3de2a2b commit 7dc3ba3

File tree

2 files changed

+6
-17
lines changed

2 files changed

+6
-17
lines changed

.npmignore

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

package.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
"test",
1919
"integration"
2020
],
21+
"files": [
22+
"build/",
23+
"typings/index.d.ts",
24+
"pure.js",
25+
"dont-cleanup-after-each.js"
26+
],
2127
"devDependencies": {
2228
"@babel/cli": "^7.8.4",
2329
"@babel/core": "^7.9.0",
@@ -69,15 +75,5 @@
6975
"json"
7076
],
7177
"rootDir": "./src"
72-
},
73-
"greenkeeper": {
74-
"ignore": [
75-
"react",
76-
"react-test-renderer",
77-
"metro-react-native-babel-preset"
78-
]
79-
},
80-
"publishConfig": {
81-
"registry": "https://registry.npmjs.org/"
8278
}
8379
}

0 commit comments

Comments
 (0)