Skip to content

Commit

Permalink
update for git-validate 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nlf committed Jun 18, 2015
1 parent fde446e commit 362a202
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
5 changes: 3 additions & 2 deletions bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ var Validate = require('git-validate');

Validate.copy('../jshintrc', '.jshintrc');
Validate.copy('../jshintignore', '.jshintignore');
Validate.copy('../validate.json', '.validate.json', { overwrite: true });
Validate.installHooks('pre-commit');
Validate.installScript('lint', 'jshint .');
Validate.installScript('validate', 'npm ls');
Validate.configureHook('pre-commit', ['lint', 'validate', 'test']);
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"author": "Nathan LaFreniere <quitlahok@gmail.com> (https://github.com/nlf)",
"name": "precommit-hook",
"description": "A useful pre-commit hook for git based projects that lints and runs npm test",
"version": "2.0.1",
"version": "3.0.0",
"license": "MIT",
"homepage": "https://github.com/nlf/precommit-hook",
"repository": {
"url": "https://github.com/nlf/precommit-hook.git"
},
"dependencies": {
"git-validate": "^1.0.1",
"git-validate": "^2.0.0",
"jshint": "*"
},
"scripts": {
Expand Down
6 changes: 0 additions & 6 deletions validate.json

This file was deleted.

0 comments on commit 362a202

Please sign in to comment.