Skip to content

Commit 17a5351

Browse files
committed
feat!: use package.json files to limit which files are published
Fixes: #2372
1 parent 4a50fe3 commit 17a5351

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,20 @@
2121
"preferGlobal": true,
2222
"bin": "./bin/node-gyp.js",
2323
"main": "./lib/node-gyp.js",
24+
"files": [
25+
"/bin/",
26+
"!/gyp/",
27+
"/gyp/data/",
28+
"/gyp/pylib/",
29+
"/gyp/gyp",
30+
"/gyp/gyp_main.py",
31+
"/gyp.bat",
32+
"/gyp/gyp",
33+
"/lib/",
34+
"/src/",
35+
"/addon.gypi",
36+
"macOS_Cataline_acid_test.sh"
37+
],
2438
"dependencies": {
2539
"env-paths": "^2.2.0",
2640
"exponential-backoff": "^3.1.1",

0 commit comments

Comments
 (0)