Skip to content

Commit d793595

Browse files
committed
chore(git): ensure run sync-deps before committing
1 parent 4563cd2 commit d793595

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
@@ -25,7 +25,8 @@
2525
"eslint": "eslint .",
2626
"tslint": "tslint \"**/*.ts\" -c tslint.json -e \"**/blueprints/*/files/**/*.ts\" -e \"node_modules/**\" -e \"tmp/**\" -e \"dist/**\"",
2727
"lint": "npm-run-all -c eslint tslint",
28-
"sync-deps": "node ./scripts/sync-deps.js"
28+
"sync-deps": "node ./scripts/sync-deps.js",
29+
"precommit": "npm run sync-deps"
2930
},
3031
"repository": {
3132
"type": "git",
@@ -149,6 +150,7 @@
149150
"dtsgenerator": "^0.8.3",
150151
"eslint": "^3.11.0",
151152
"express": "^4.14.0",
153+
"husky": "^0.12.0",
152154
"jasmine": "^2.4.1",
153155
"jasmine-spec-reporter": "^2.7.0",
154156
"minimist": "^1.2.0",

0 commit comments

Comments
 (0)