Skip to content

Commit da9fdd3

Browse files
committed
build: add lint before push
1 parent 31a61cd commit da9fdd3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: package.json

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"node": ">=4"
1717
},
1818
"scripts": {
19+
"prepush": "npm t",
1920
"precommit": "clinton && lint-staged",
2021
"commitmsg": "commitlint --extends=@commitlint/config-angular -e",
2122
"postpublish": "conventional-changelog -i changelog.md -s -r 0 && git commit -am \"build: update changelog\"",

0 commit comments

Comments
 (0)