Skip to content

Commit

Permalink
[meta] use prepublishOnly script for npm 7+
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed May 8, 2021
1 parent 1225463 commit 8e50e91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -9,7 +9,8 @@
"license": "MIT",
"main": "index.js",
"scripts": {
"prepublish": "safe-publish-latest",
"prepublishOnly": "safe-publish-latest",
"prepublish": "not-in-publish || npm run prepublishOnly",
"pretest": "npm run lint",
"test": "npm run tests-only && npm run test:harmony",
"tests-only": "nyc node test",
Expand Down

0 comments on commit 8e50e91

Please sign in to comment.