File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -6,3 +6,5 @@ node_modules
6
6
npm-shrinkwrap.json
7
7
package-lock.json
8
8
yarn.lock
9
+
10
+ .npmignore
Original file line number Diff line number Diff line change 13
13
"aud" : " ^2.0.1" ,
14
14
"eslint" : " =8.8.0" ,
15
15
"in-publish" : " ^2.0.1" ,
16
+ "npmignore" : " ^0.3.0" ,
16
17
"safe-publish-latest" : " ^2.0.0" ,
17
18
"tape" : " ^5.6.1"
18
19
},
30
31
"url" : " http://github.com/substack/node-shell-quote.git"
31
32
},
32
33
"scripts" : {
34
+ "prepack" : " npmignore --auto --commentLines=autogenerated" ,
33
35
"prepublish" : " not-in-publish || npm run prepublishOnly" ,
34
36
"prepublishOnly" : " safe-publish-latest" ,
35
37
"lint" : " eslint --ext=js,mjs ." ,
36
38
"pretest" : " npm run lint" ,
37
39
"tests-only" : " tape 'test/**/*.js'" ,
38
40
"test" : " npm run tests-only" ,
39
41
"posttest" : " aud --production"
42
+ },
43
+ "publishConfig" : {
44
+ "ignore" : [
45
+ " .github/workflows"
46
+ ]
40
47
}
41
48
}
You can’t perform that action at this time.
0 commit comments