Skip to content

Commit

Permalink
Only lint before commit
Browse files Browse the repository at this point in the history
  • Loading branch information
leo committed Feb 4, 2017
1 parent c5fafd6 commit 1e2730e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
"bin"
],
"scripts": {
"precommit": "npm run test",
"precommit": "npm run lint",
"prepublish": "npm run build",
"pretest": "npm run build",
"build": "mkdir -p dist && async-to-gen lib/index.js > dist/index.js",
"test": "xo && ava"
"lint": "xo",
"test": "npm run lint && ava"
},
"ava": {
"require": [
Expand Down

0 comments on commit 1e2730e

Please sign in to comment.