Skip to content

Commit 6b886fc

Browse files
authored
Use "test" script in pre-push hook (#68)
Use "test" script in pre-push hook
2 parents 87d99e9 + 9a9d7de commit 6b886fc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
"test": "npm run lint && npm run testonly",
1111
"testonly": "NODE_ENV=test mocha test/specs.js",
1212
"testonly-watch": "NODE_ENV=test mocha -w test/specs.js",
13-
"lint": "standard",
14-
"lint-test": "npm run lint && npm run test"
13+
"lint": "standard"
1514
},
1615
"bugs": {
1716
"url": "https://github.com/ilearnio/module-alias/issues"
@@ -46,7 +45,7 @@
4645
},
4746
"husky": {
4847
"hooks": {
49-
"pre-push": "npm run lint-test"
48+
"pre-push": "npm run test"
5049
}
5150
}
5251
}

0 commit comments

Comments
 (0)