Skip to content

Commit 22191c8

Browse files
committed
chore(git): ensure run sync-deps before committing
1 parent 039094b commit 22191c8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"eslint": "eslint .",
2424
"tslint": "tslint \"**/*.ts\" -c tslint.json -e \"**/blueprints/*/files/**/*.ts\" -e \"node_modules/**\" -e \"tmp/**\" -e \"dist/**\"",
2525
"lint": "npm-run-all -c eslint tslint",
26-
"sync-deps": "node ./scripts/sync-deps.js"
26+
"sync-deps": "node ./scripts/sync-deps.js",
27+
"precommit": "npm run sync-deps"
2728
},
2829
"repository": {
2930
"type": "git",
@@ -144,6 +145,7 @@
144145
"dtsgenerator": "^0.8.3",
145146
"eslint": "^3.11.0",
146147
"express": "^4.14.0",
148+
"husky": "^0.12.0",
147149
"jasmine": "^2.4.1",
148150
"jasmine-spec-reporter": "^3.2.0",
149151
"minimist": "^1.2.0",

0 commit comments

Comments
 (0)