Add release script for benchmarks

This commit is contained in:
Nicolas Gallagher
2018-01-17 17:22:40 -08:00
parent ed0cafac7c
commit a9342daee2
5 changed files with 12 additions and 10 deletions
+2 -1
View File
@@ -3,7 +3,8 @@
"name": "benchmarks",
"version": "0.3.1",
"scripts": {
"benchmark": "webpack --config ./webpack.config.js"
"build": "mkdir -p dist && cp -f index.html dist/index.html && webpack --config ./webpack.config.js",
"release": "yarn build && git checkout gh-pages && rm -rf ../../benchmarks && mv dist ../../benchmarks && git add -A && git commit -m \"Benchmarks deploy\" && git push origin gh-pages && git checkout -"
},
"dependencies": {
"aphrodite": "1.2.5",