set backend and version env

This commit is contained in:
2022-05-02 19:20:44 +08:00
parent 93e18d2704
commit 9b2b8d71b5
4 changed files with 13 additions and 6 deletions

View File

@@ -24,7 +24,7 @@
"start": "react-scripts start",
"build": "react-scripts build",
"test": "echo 'skipped react-scripts test --env=jsdom'",
"predeploy": "REACT_APP_BUILD_INFO=autodeploy-$(TZ=Asia/Shanghai date +\"%y%m%d_%H:%M:%S\") react-scripts build",
"predeploy": "react-scripts build",
"deploy": "gh-pages -d build",
"eject": "react-scripts eject",
"lint": "eslint --fix src/*.js"