Skip to content

Commit

Permalink
add precommit check
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkdo committed Jul 21, 2017
1 parent a061800 commit 27e2849
Show file tree
Hide file tree
Showing 2 changed files with 225 additions and 25 deletions.
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,18 @@
"start:pm2": "pm2 start yarn --name=hare -- start",
"analyze": "nuxt build --analyze",
"generate": "nuxt generate",
"precommit": "npm run lint"
"precommit": "lint-staged"
},
"ava": {
"require": [
"babel-register"
]
},
"lint-staged": {
"{client,server,test}/**/*.{js,vue}": [
"eslint --ext .js,.vue --ignore-path .gitignore"
]
},
"dependencies": {
"axios": "^0.16.2",
"bunyan": "^1.8.10",
Expand Down Expand Up @@ -74,7 +79,9 @@
"eslint-plugin-node": "^5.0.0",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"husky": "^0.14.3",
"jsdom": "^11.0.0",
"lint-staged": "^4.0.2",
"moxios": "^0.4.0",
"node-sass": "^4.5.3",
"nodemon": "^1.11.0",
Expand Down
Loading

0 comments on commit 27e2849

Please sign in to comment.