We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2aeea72 + 1463c30 commit 774ab92Copy full SHA for 774ab92
.husky/pre-commit
@@ -0,0 +1 @@
1
+npm run lint
.husky/pre-push
+npm run test:quiet
package.json
@@ -50,7 +50,8 @@
50
"watch": "mocha --reporter=min --watch --growl",
51
"test:functional": "bash test/functional-test.sh",
52
"test:coverage": "nyc mocha",
53
- "test:all": "npm run lint && npm test && npm run test:functional"
+ "test:all": "npm run lint && npm test && npm run test:functional",
54
+ "prepare": "husky"
55
},
56
"dependencies": {
57
"adm-zip": "^0.5.16",
@@ -75,12 +76,6 @@
75
76
"should": "^13.2.3",
77
"sinon": "^19.0.2"
78
- "husky": {
79
- "hooks": {
80
- "pre-commit": "npm run lint",
81
- "pre-push": "npm run test:quiet"
82
- }
83
- },
84
"funding": {
85
"type": "liberapay",
86
"url": "https://liberapay.com/tldr-pages"
0 commit comments