mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
add husky and run jshint as a pre-commit hook
This commit is contained in:
parent
05bc19b960
commit
bc2a749a18
1 changed files with 3 additions and 1 deletions
|
@ -21,6 +21,7 @@
|
|||
"grunt-contrib-watch": "~0.5.3",
|
||||
"grunt-mocha": "~0.4.10",
|
||||
"http-proxy": "~1.1.4",
|
||||
"husky": "^0.6.0",
|
||||
"istanbul": "~0.2.4",
|
||||
"load-grunt-config": "~0.7.0",
|
||||
"lodash": "~2.4.1",
|
||||
|
@ -31,7 +32,8 @@
|
|||
},
|
||||
"scripts": {
|
||||
"test": "grunt test",
|
||||
"server": "grunt server"
|
||||
"server": "grunt server",
|
||||
"precommit": "grunt jshint"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue