We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ljharb
Learn more about funding links in repositories.
Report abuse
safe-publish-latest
1 parent 4418183 commit dcf49ceCopy full SHA for dcf49ce
package.json
@@ -18,6 +18,8 @@
18
},
19
"scripts": {
20
"prepack": "npmignore --auto --commentLines=autogenerated",
21
+ "prepublish": "not-in-publish || npm run prepublishOnly",
22
+ "prepublishOnly": "safe-publish-latest",
23
"lint": "eslint --ext=js,mjs .",
24
"tests-only": "nyc tape 'test/**/*.js'",
25
"pretest": "npm run lint",
@@ -42,8 +44,10 @@
42
44
"aud": "^2.0.3",
43
45
"auto-changelog": "^2.4.0",
46
"eslint": "=8.8.0",
47
+ "in-publish": "^2.0.1",
48
"npmignore": "^0.3.0",
49
"nyc": "^10.3.2",
50
+ "safe-publish-latest": "^2.0.0",
51
"semver": "^6.3.1",
52
"tape": "^5.6.6"
53
0 commit comments