Skip to content

Commit ce47ef1

Browse files
committed
Exclude unnecessary files from npm package
1 parent 4c5c671 commit ce47ef1

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

.npmignore

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

deps/.editorconfig

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

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@
1414
},
1515
"files": [
1616
"binding.gyp",
17-
"lib/",
18-
"scripts/",
19-
"src/",
20-
"deps/",
17+
"lib/**/*.js",
18+
"!lib/**/*.test.js",
19+
"scripts/post-install.js",
20+
"scripts/prebuild.js",
21+
"src/**/*.{cc,h}",
2122
"prebuilds/",
2223
"third_party/",
2324
"typings/"

0 commit comments

Comments
 (0)