Skip to content

Commit

Permalink
Add precommit hook to run tests automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianMurphy committed May 27, 2017
1 parent 6c2c436 commit cf98fde
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
22 changes: 21 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"src"
],
"scripts": {
"test": "ava && eslint --ext md,js . && remark *.md -q --no-stdout"
"test": "ava && eslint --ext md,js . && remark *.md -q --no-stdout",
"precommit": "npm test"
},
"keywords": [
"postcss-plugin",
Expand Down Expand Up @@ -36,6 +37,7 @@
"eslint-config-google": "^0.7.1",
"eslint-plugin-ava": "^4.2.0",
"eslint-plugin-markdown": "^1.0.0-beta.6",
"husky": "^0.13.3",
"postcss-less": "^1.0.0",
"postcss-nested": "^2.0.2",
"postcss-scss": "^1.0.0",
Expand Down

0 comments on commit cf98fde

Please sign in to comment.