add gh-pages

This commit is contained in:
IgnatOffice
2022-05-23 19:14:01 +03:00
parent 372bf9f7b2
commit 930bd4be99
2 changed files with 120 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
{
"name": "home-works",
"homepage": "https://IgnatZakalinsky.github.io/home-works",
"version": "0.1.0",
"private": true,
"dependencies": {
@@ -10,6 +11,7 @@
"@types/node": "^16.7.13",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"gh-pages": "^4.0.0",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-scripts": "5.0.1",
@@ -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": [