Skip to content

Commit

Permalink
Add gh-page deploy script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hsins committed Jan 18, 2020
1 parent 80c7b7a commit fe808ba
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 1 deletion.
91 changes: 91 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.4.0",
"@testing-library/user-event": "^7.2.1",
"gh-pages": "^2.2.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-scripts": "3.3.0"
},
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
Expand All @@ -30,5 +33,6 @@
"last 1 firefox version",
"last 1 safari version"
]
}
},
"homepage": "https://hsins-til.github.io/udemy_React-Dice"
}

0 comments on commit fe808ba

Please sign in to comment.