We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa81ea6 commit aca92ffCopy full SHA for aca92ff
.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.10",
@@ -74,12 +75,6 @@
74
75
"should": "^13.2.3",
76
"sinon": "^19.0.2"
77
- "husky": {
78
- "hooks": {
79
- "pre-commit": "npm run lint",
80
- "pre-push": "npm run test:quiet"
81
- }
82
- },
83
"funding": {
84
"type": "liberapay",
85
"url": "https://liberapay.com/tldr-pages"
0 commit comments