Skip to content

Commit

Permalink
chore: add sri-history lifecycle hook to release (#844)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcysutton authored May 1, 2018
1 parent f97d89f commit 5829a6e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,20 @@
],
"main": "axe.js",
"typings": "axe.d.ts",
"standard-version": {
"scripts": {
"postbump": "npm run sri-update"
}
},
"scripts": {
"build": "grunt",
"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 -a",
"sri-update": "grunt build && node build/sri-update && git add sri-history.json"
},
"devDependencies": {
"angular-precommit": "^1.0.3",
Expand Down Expand Up @@ -93,4 +99,4 @@
"standard-version": "^4.2.0"
},
"dependencies": {}
}
}

0 comments on commit 5829a6e

Please sign in to comment.