Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Lint before publishing
Browse files Browse the repository at this point in the history
I published a beta version that didn't pass linting, but I wasn't
stopped from doing so. Adding a linting step to the publish flow seems
like a good idea.
  • Loading branch information
trotzig committed Dec 2, 2016
1 parent 18df986 commit 459ff4d
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 @@ -11,7 +11,7 @@
"jest": "jest",
"jest:watch": "jest --watch",
"lint": "eslint --ext .js,.jsx .",
"prepublish": "npm run --silent build",
"prepublish": "npm run --silent lint && npm run --silent build",
"pretest": "npm run --silent lint",
"test": "npm run --silent jest",
"webpack": "webpack --optimize-minimize",
Expand Down

0 comments on commit 459ff4d

Please sign in to comment.