diff --git a/package.json b/package.json index 7875d6b92c..49de726701 100644 --- a/package.json +++ b/package.json @@ -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",