Convert prepublish script to prepare
This avoids the deprecation warning about `prepublish` scripts. It should not change when the script is run.
This commit is contained in:
parent
7c947d87ab
commit
f6466802b0
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@
|
|||
"lintall": "eslint src/ test/",
|
||||
"lintwithexclusions": "eslint --max-warnings 0 --ignore-path .eslintignore.errorfiles src test",
|
||||
"clean": "rimraf lib",
|
||||
"prepublish": "yarn clean && yarn build && git rev-parse HEAD > git-revision.txt",
|
||||
"prepare": "yarn clean && yarn build && git rev-parse HEAD > git-revision.txt",
|
||||
"test": "karma start --single-run=true --browsers ChromeHeadless",
|
||||
"test-multi": "karma start"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue