Skip to content

Commit

Permalink
Adding precommit hook via guppy
Browse files Browse the repository at this point in the history
Signed-off-by: Bryan Jacquot <jacquot@hpe.com>
  • Loading branch information
Bryan Jacquot committed Sep 6, 2016
1 parent e23b9f0 commit 30df06a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions gulpfile.babel.js
Expand Up @@ -31,3 +31,5 @@ gulp.task('dev', () =>
'Running "gulp dev" at Grommet root folder is not supported. To test Grommet components locally clone the grommet-docs repo into your project.'
)
);

gulp.task('pre-commit', ['jslint','scsslint','test']);
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -77,8 +77,9 @@
"gulp-prompt": "^0.2.0",
"gulp-rename": "^1.2.2",
"gulp-sass": "^2.2.0",
"react-test-renderer": "^15.3.0",
"guppy-pre-commit": "^0.4.0",
"mkdirp": "^0.5.1",
"react-test-renderer": "^15.3.0",
"run-sequence": "^1.1.5",
"webpack": "^1.12.14",
"webpack-stream": "^3.1.0"
Expand Down

0 comments on commit 30df06a

Please sign in to comment.