Skip to content

Commit

Permalink
[meta] add safe-publish-latest; use prepublishOnly script for npm 7+
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed May 5, 2021
1 parent 3907aa5 commit c3d434d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -33,10 +33,13 @@
"eslint": "^7.31.0",
"falafel": "^2.2.4",
"js-yaml": "^3.14.0",
"safe-publish-latest": "^1.1.4",
"tap": "^8.0.1",
"tap-parser": "^3.0.5"
},
"scripts": {
"prepublishOnly": "safe-publish-latest",
"prepublish": "not-in-publish || npm run prepublishOnly",
"prelint": "eclint check",
"lint": "eslint .",
"pretest": "npm run lint",
Expand Down

0 comments on commit c3d434d

Please sign in to comment.