Skip to content

Commit 26ee3b6

Browse files
committed
chore(git): ensure run sync-deps before committing
1 parent a63ca35 commit 26ee3b6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

package.json

+6
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@
153153
"dtsgenerator": "^0.8.3",
154154
"eslint": "^3.11.0",
155155
"express": "^4.14.0",
156+
"ghooks": "^1.3.2",
156157
"jasmine": "^2.4.1",
157158
"jasmine-spec-reporter": "^2.7.0",
158159
"minimist": "^1.2.0",
@@ -170,5 +171,10 @@
170171
},
171172
"peerDependencies": {
172173
"reflect-metadata": "^0.1.8"
174+
},
175+
"config": {
176+
"ghooks": {
177+
"pre-commit": "npm run sync-deps"
178+
}
173179
}
174180
}

0 commit comments

Comments
 (0)