Skip to content

Commit

Permalink
[meta] use prepublishOnly, for npm 7+
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Apr 7, 2021
1 parent f8c18de commit e60a42d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"./package.json": "./package.json"
},
"scripts": {
"prepublish": "safe-publish-latest",
"prepublish": "not-in-publish || npm run prepublishOnly",
"prepublishOnly": "safe-publish-latest",
"pretest": "npm run lint",
"prelint": "evalmd README.md",
"lint": "eslint --ext=js,mjs .",
Expand Down

0 comments on commit e60a42d

Please sign in to comment.