Skip to content

Commit

Permalink
Update git-sha file every time the commit hash changes
Browse files Browse the repository at this point in the history
  • Loading branch information
waxlamp committed Mar 15, 2017
1 parent 26a5414 commit 2c00815
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"description": "Choose your own visualization adventure",
"scripts": {
"postinstall": "git rev-parse HEAD >git-sha",
"postcommit": "git rev-parse HEAD >git-sha",
"postrewrite": "git rev-parse HEAD >git-sha",
"postcheckout": "git rev-parse HEAD >git-sha",
"postmerge": "git rev-parse HEAD >git-sha",
"lint": "semistandard | snazzy"
},
"repository": {
Expand All @@ -23,6 +27,7 @@
"d3-selection": "^1.0.2",
"datatables-all": "^1.10.13",
"file-loader": "^0.9.0",
"husky": "^0.13.2",
"immutable": "^3.8.1",
"jade": "^1.11.0",
"jade-loader": "^0.8.0",
Expand Down

0 comments on commit 2c00815

Please sign in to comment.