Skip to content

Commit

Permalink
feat: add precommit hook on npm postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcy Sutton authored and marcysutton committed Dec 12, 2017
1 parent b3ea548 commit 122c475
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
"test": "grunt test",
"test-fast": "grunt test-fast",
"version": "echo \"use 'npm run release' to bump axe-core version\" && exit 1",
"prepublishOnly": "grunt build",
"postinstall": "node build/utils/postinstall.js",
"release": "standard-version && node build/sri-update"
"release": "standard-version && node build/sri-update",
"prepublishOnly": "grunt build && node build/sri-update --validate",
"postinstall": "ln -s -f node_modules/angular-precommit/index.js .git/hooks/commit-msg"
},
"devDependencies": {
"angular-precommit": "^1.0.3",
Expand Down

0 comments on commit 122c475

Please sign in to comment.