Skip to content

Commit 7e7b82a

Browse files
author
David Silva
committed
added gh-pages to project, to deploy static site to github pages
1 parent 29fdfd4 commit 7e7b82a

File tree

2 files changed

+66
-2
lines changed

2 files changed

+66
-2
lines changed

package-lock.json

Lines changed: 63 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"devDependencies": {
6+
"gh-pages": "^1.1.0",
67
"react-scripts": "^1.0.17"
78
},
89
"dependencies": {
@@ -20,7 +21,8 @@
2021
"start": "react-scripts start",
2122
"build": "react-scripts build",
2223
"test": "react-scripts test --env=jsdom",
23-
"eject": "react-scripts eject"
24+
"eject": "react-scripts eject",
25+
"deploy" : "npm run build&&gh-pages -d build"
2426
},
2527
"homepage": "https://codecorgi.co"
2628
}

0 commit comments

Comments
 (0)