Skip to content

Commit

Permalink
added pre push hook for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Einstein committed Jun 21, 2017
1 parent 2eaa5b2 commit 55414d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"build": "babel src --out-dir build",
"dev": "NODE_ENV=dev webpack-dev-server --inline --hot --config example/webpack.js",
"lint": "eslint src/**/*.js",
"postinstall": "mkdir -p .git/hooks && echo 'npm run lint' > .git/hooks/pre-push && chmod +x .git/hooks/pre-push",
"prepublish": "npm run build",
"test": "jest",
"test:watch": "npm run test -- --watch",
Expand Down

0 comments on commit 55414d9

Please sign in to comment.