File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,5 @@ node_modules
4
4
npm-shrinkwrap.json
5
5
package-lock.json
6
6
yarn.lock
7
+
8
+ .npmignore
Original file line number Diff line number Diff line change 4
4
"description" : " abstract base class for crypto-streams" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
+ "prepack" : " npmignore --auto --commentLines=autogenerated" ,
8
+ "prepublishOnly" : " safe-publish-latest" ,
9
+ "prepublish" : " not-in-publish || npm run prepublishOnly" ,
7
10
"lint" : " eslint --ext=js,.mjs ." ,
8
11
"pretest" : " npm run lint" ,
9
12
"test" : " npm run tests-only" ,
31
34
"devDependencies" : {
32
35
"@ljharb/eslint-config" : " ^21.1.1" ,
33
36
"eslint" : " =8.8.0" ,
37
+ "in-publish" : " ^2.0.1" ,
38
+ "npmignore" : " ^0.3.1" ,
39
+ "safe-publish-latest" : " ^2.0.0" ,
34
40
"tape" : " ^5.9.0"
35
41
},
42
+ "publishConfig" : {
43
+ "ignore" : [
44
+ " .github/workflows"
45
+ ]
46
+ },
36
47
"engines" : {
37
48
"node" : " >= 0.10"
38
49
}
You can’t perform that action at this time.
0 commit comments