Skip to content

Commit f717623

Browse files
committed
Add gh-pages
1 parent a45a6a0 commit f717623

File tree

2 files changed

+179
-2
lines changed

2 files changed

+179
-2
lines changed

package-lock.json

Lines changed: 174 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: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
"name": "react-code-playground",
33
"version": "0.1.0",
44
"private": true,
5+
"homepage": "http://ktcv.github.io/react-code-playground",
56
"dependencies": {
67
"@testing-library/jest-dom": "^5.11.4",
78
"@testing-library/react": "^11.1.0",
89
"@testing-library/user-event": "^12.1.10",
910
"codemirror": "^5.58.2",
11+
"gh-pages": "^3.1.0",
1012
"react": "^17.0.1",
1113
"react-codemirror2": "^7.2.1",
1214
"react-dom": "^17.0.1",
@@ -17,7 +19,9 @@
1719
"start": "react-scripts start",
1820
"build": "react-scripts build",
1921
"test": "react-scripts test",
20-
"eject": "react-scripts eject"
22+
"eject": "react-scripts eject",
23+
"predeploy": "npm run build",
24+
"deploy": "gh-pages -d build"
2125
},
2226
"eslintConfig": {
2327
"extends": [

0 commit comments

Comments
 (0)