We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d13a37 commit 4257e45Copy full SHA for 4257e45
package.json
@@ -13,7 +13,9 @@
13
"drop_index": "node scripts/drop_index",
14
"reset_type": "node scripts/reset_type",
15
"update_settings": "node scripts/update_settings",
16
- "travis": "npm run test && npm run integration"
+ "travis": "npm run test && npm run integration",
17
+ "lint": "jshint .",
18
+ "validate": "npm ls"
19
},
20
"repository": {
21
"type": "git",
@@ -43,11 +45,17 @@
43
45
"devDependencies": {
44
46
"difflet": "^1.0.1",
47
"elastictest": "^2.0.0",
48
+ "precommit-hook": "^3.0.0",
49
"proxyquire": "^2.0.0",
50
"tap-spec": "^5.0.0",
51
"tape": "^4.5.0"
52
- "pre-commit": [],
53
+ "pre-commit": [
54
+ "lint",
55
+ "prune",
56
+ "validate",
57
+ "test"
58
+ ],
59
"release": {
60
"branch": "master",
61
"success": []
0 commit comments