Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Commit

Permalink
feat: gh-pages preview
Browse files Browse the repository at this point in the history
  • Loading branch information
stefango committed Jun 5, 2021
1 parent 9fa3181 commit 245ce23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

> built by create-react-app, antd-mobile, typescript...
[👉 preview](https://xzl-org.github.io/ts-app)

## Dependencies

- [create-react-app](https://create-react-app.dev/): AKA cra
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "ts-app",
"version": "0.1.0",
"homepage": "https://xzl-org.github.io/ts-app",
"private": true,
"dependencies": {
"ahooks": "^2.9.6",
Expand All @@ -19,7 +20,9 @@
"start": "set BROWSER=NONE&&set PORT=5000&&react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test",
"eject": "react-app-rewired eject"
"eject": "react-app-rewired eject",
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
},
"eslintConfig": {
"extends": [
Expand Down Expand Up @@ -50,6 +53,7 @@
"@types/react-router-dom": "^5.1.7",
"babel-plugin-import": "^1.13.3",
"customize-cra": "^1.0.0",
"gh-pages": "^3.2.0",
"react-app-rewired": "^2.1.8"
}
}

0 comments on commit 245ce23

Please sign in to comment.