aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorEug-VS <eug-vs@keemail.me>2020-01-12 18:37:54 +0300
committerEug-VS <eug-vs@keemail.me>2020-01-12 18:37:54 +0300
commit1c73d3cd0f78a5c01c9819f016838d188d3cf63f (patch)
tree9d3a260c141844ba1b7da77bbde5cd1177f9d40f /package.json
parente1bf09bbd748f99f7693d26d855306e574c8919f (diff)
downloadchrono-cube-ui-1c73d3cd0f78a5c01c9819f016838d188d3cf63f.tar.gz
Support gh-pages deployment
Diffstat (limited to 'package.json')
-rw-r--r--package.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/package.json b/package.json
index de129ad..ed322ca 100644
--- a/package.json
+++ b/package.json
@@ -2,6 +2,7 @@
"name": "chrono-cube",
"version": "0.1.0",
"private": true,
+ "homepage": "https://eug-vs.github.io/chrono-cube",
"dependencies": {
"@material-ui/core": "^4.8.2",
"@material-ui/icons": "^4.5.1",
@@ -9,6 +10,7 @@
"@testing-library/react": "^9.4.0",
"@testing-library/user-event": "^7.2.1",
"axios": "^0.19.0",
+ "gh-pages": "^2.2.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-scripts": "3.3.0",
@@ -20,7 +22,9 @@
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
- "eject": "react-scripts eject"
+ "eject": "react-scripts eject",
+ "predeploy": "npm run build",
+ "deploy": "gh-pages -d build"
},
"eslintConfig": {
"extends": "react-app"