We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
safe-publish-latest
1 parent f58745b commit 01fc23fCopy full SHA for 01fc23f
package.json
@@ -7,12 +7,16 @@
7
"@ljharb/eslint-config": "^21.0.0",
8
"aud": "^2.0.1",
9
"eslint": "=8.8.0",
10
+ "in-publish": "^2.0.1",
11
"npmignore": "^0.3.0",
12
"nyc": "^10.3.2",
13
+ "safe-publish-latest": "^2.0.0",
14
"tape": "^5.6.1"
15
},
16
"scripts": {
17
"prepack": "npmignore --auto --commentLines=auto",
18
+ "prepublishOnly": "safe-publish-latest",
19
+ "prepublish": "not-in-publish || npm run prepublishOnly",
20
"lint": "eslint --ext=js,mjs .",
21
"pretest": "npm run lint",
22
"tests-only": "nyc tape test/*.js",
0 commit comments