Skip to content

Commit

Permalink
chore(hooks): added husky precommit hook
Browse files Browse the repository at this point in the history
automatically do lints and test runs before commiting
  • Loading branch information
zewa666 committed Nov 14, 2017
1 parent fa03a60 commit 05ab7a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Expand Up @@ -12,6 +12,9 @@
"bugs": {
"url": "https://github.com/aurelia/i18n/issues"
},
"scripts": {
"precommit": "gulp lint && karma start --single-run"
},
"license": "MIT",
"author": "Rob Eisenberg <rob@bluespire.com> (http://robeisenberg.com/)",
"main": "dist/commonjs/aurelia-i18n.js",
Expand Down Expand Up @@ -107,6 +110,7 @@
"gulp-typedoc-extractor": "0.0.8",
"gulp-typescript": "^2.13.6",
"gulp-util": "^3.0.7",
"husky": "^0.14.3",
"jasmine-core": "^2.4.1",
"karma": "^1.1.2",
"karma-babel-preprocessor": "^6.0.1",
Expand Down

0 comments on commit 05ab7a4

Please sign in to comment.