Skip to content

Commit

Permalink
add npm run lint script
Browse files Browse the repository at this point in the history
  • Loading branch information
gka committed Jun 17, 2019
1 parent f316f78 commit 695ea1a
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 @@ -25,7 +25,8 @@
"build": "rollup -c && DEV=1 rollup -c ",
"docs": "cd docs && make",
"docs-preview": "cd docs && make && make preview",
"test": "vows --dot-matrix test/*.js"
"test": "vows --dot-matrix test/*.js",
"lint": "eslint index.js index-light.js src"
},
"devDependencies": {
"babel-eslint": "^10.0.1",
Expand Down Expand Up @@ -55,7 +56,7 @@
},
"husky": {
"hooks": {
"pre-commit": "eslint index.js src",
"pre-commit": "npm run lint",
"pre-push": "npm test"
}
}
Expand Down

0 comments on commit 695ea1a

Please sign in to comment.