Skip to content

Commit 83a2e83

Browse files
committed
Deploy script
1 parent 2f08404 commit 83a2e83

File tree

2 files changed

+85
-155
lines changed

2 files changed

+85
-155
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"build": "react-scripts build",
88
"test": "react-scripts test",
99
"eject": "react-scripts eject",
10+
"deploy": "cross-env PUBLIC_PATH='/' npm run build && echo modular-material-admin-react.modularcode.io > ./build/CNAME && gh-pages -d build --repo [email protected]:modularcode/modular-material-admin-react.git --branch gh-pages",
1011
"build-docs": "build-storybook --docs -s ./public",
1112
"build-storybook": "build-storybook",
1213
"storybook": "start-storybook -p 6060"
@@ -20,7 +21,7 @@
2021
"axios": "^0.19.0",
2122
"axios-mock-adapter": "^1.17.0",
2223
"chart.js": "^2.9.3",
23-
"cross-env": "^6.0.3",
24+
"cross-env": "^7.0.0",
2425
"disqus-react": "^1.0.7",
2526
"lodash": "^4.17.15",
2627
"moment": "^2.24.0",
@@ -50,6 +51,7 @@
5051
"babel-loader": "^8.0.6",
5152
"eslint-plugin-prettier": "^3.1.1",
5253
"fork-ts-checker-webpack-plugin": "^3.1.1",
54+
"gh-pages": "^2.2.0",
5355
"prettier": "1.18.2",
5456
"react-docgen-typescript-loader": "^3.6.0",
5557
"ts-loader": "^6.2.1"

0 commit comments

Comments
 (0)