Skip to content

Commit 5be22a1

Browse files
author
Robert S
committed
Github Pages Deploy
1 parent b2e958d commit 5be22a1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "react-typescript",
3+
"homepage": "https://codebelt.github.io/react-redux-architecture",
34
"version": "0.1.0",
45
"private": true,
56
"husky": {
@@ -16,6 +17,9 @@
1617
"prod": "cross-env CLIENT_ENV=production craco start",
1718
"---------- PRODUCTION ----------------------------------------------------------------------------------": "",
1819
"build": "cross-env CLIENT_ENV=production craco build",
20+
"---------- Github Deploy -------------------------------------------------------------------------------": "",
21+
"predeploy": "yarn build",
22+
"deploy": "gh-pages -d build",
1923
"---------- TESTING -------------------------------------------------------------------------------------": "",
2024
"test": "cross-env CLIENT_ENV=test craco test",
2125
"type-check": "tsc --noEmit",
@@ -74,6 +78,7 @@
7478
"@types/uuid": "3.4.5",
7579
"cross-env": "6.0.0",
7680
"generate-template-files": "2.2.0",
81+
"gh-pages": "2.1.1",
7782
"husky": "3.0.5",
7883
"node-sass": "4.12.0",
7984
"prettier": "1.18.2",

0 commit comments

Comments
 (0)