Skip to content

Commit

Permalink
[Tests] handle buggy prepublish behavior in npm < 5
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Mar 29, 2020
1 parent 62bd584 commit ef8ff6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
]
},
"scripts": {
"prepublish": "safe-publish-latest",
"prepublish": "!(type safe-publish-latest 2>/dev/null) || safe-publish-latest",
"lint": "eslint .",
"pretest": "npm run lint",
"test": "npm run tests-only",
Expand Down

0 comments on commit ef8ff6d

Please sign in to comment.