Skip to content

Commit

Permalink
Remove npm run publish script because it causes dups
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Jul 6, 2019
1 parent 3e9001d commit 0f1586e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"hooks": {
"pre-commit": "npm run lint && npm run test",
"pre-push": "npm run lint && npm run test"
"pre-commit": "npm run validate",
"pre-push": "npm run validate"
}
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@
],
"scripts": {
"lint": "eslint .",
"publish": "npm publish --access public",
"test": "jest --testEnvironment node --collectCoverage false && jest"
"publish": "npm run validate",
"test": "jest --testEnvironment node --collectCoverage false && jest",
"validate": "npm run lint && npm run test"
},
"devDependencies": {
"eslint": "6.0.1",
Expand Down

0 comments on commit 0f1586e

Please sign in to comment.