File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -6,3 +6,5 @@ npm-debug.log
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 6
6
"url" : " https://github.com/crypto-browserify/browserify-rsa/issues"
7
7
},
8
8
"license" : " MIT" ,
9
- "files" : [
10
- " index.js"
11
- ],
12
9
"main" : " index.js" ,
13
10
"repository" : {
14
11
"type" : " git" ,
15
12
"url" : " https://github.com:crypto-browserify/browserify-rsa.git"
16
13
},
17
14
"scripts" : {
15
+ "prepack" : " npmignore --auto --commentLines=autogenerated" ,
16
+ "prepublish" : " not-in-publish || npm run prepublishOnly" ,
17
+ "prepublishOnly" : " safe-publish-latest" ,
18
18
"lint" : " eslint --ext=js,mjs ." ,
19
19
"pretest" : " npm run lint" ,
20
20
"test" : " npm run tests-only" ,
31
31
"@ljharb/eslint-config" : " ^21.1.1" ,
32
32
"encoding" : " ^0.1.13" ,
33
33
"eslint" : " =8.8.0" ,
34
+ "in-publish" : " ^2.0.1" ,
35
+ "npmignore" : " ^0.3.1" ,
34
36
"parse-asn1" : " ^5.1.7" ,
37
+ "safe-publish-latest" : " ^2.0.0" ,
35
38
"tape" : " ^5.9.0"
36
39
},
37
40
"engines" : {
44
47
"commitLimit" : false ,
45
48
"backfillLimit" : false ,
46
49
"hideCredit" : true
50
+ },
51
+ "publishConfig" : {
52
+ "ignore" : [
53
+ " .github/workflows" ,
54
+ " test" ,
55
+ " .eslintrc" ,
56
+ " .github"
57
+ ]
47
58
}
48
59
}
You can’t perform that action at this time.
0 commit comments