summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamran Ahmed <kamranahmed.se@gmail.com>2018-08-29 23:08:53 +0500
committerKamran Ahmed <kamranahmed.se@gmail.com>2018-08-29 23:08:53 +0500
commitbb73b7cfa9d6d6c6527358a1f73818672cb47183 (patch)
treee9d80a754237ec53723c9ca25421569e51da6aac
parentRebuild URL fix (diff)
downloadgithunt-bb73b7cfa9d6d6c6527358a1f73818672cb47183.tar.gz
Build and publish scripts
-rw-r--r--package.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json
index 31fde46..32f0e86 100644
--- a/package.json
+++ b/package.json
@@ -23,6 +23,8 @@
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
+ "build-web": "BASENAME='/githunt' yarn build",
+ "publish-web": "git subtree push --prefix build origin gh-pages",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
}