[Build] Staging

This commit is contained in:
R
2023-02-01 01:12:23 +07:00
parent 2c535b4021
commit 248047006e
112 changed files with 1500 additions and 8 deletions

View File

@@ -9,7 +9,7 @@
"lint:fix": "eslint --fix --ext .ts,.tsx ./src",
"start": "vite --port=3000",
"build": "vite build --mode production && cp .htaccess build/.htaccess && rm -f -r ../../public/dashboard && cp -r build ../../public/dashboard",
"build-two": "vite build --mode production",
"build-staging": "vite build --mode staging && cp .htaccess build/.htaccess && rm -f -r ../../public/dashboard-staging && cp -r build ../../public/dashboard-staging",
"serve": "vite preview",
"clear-all": "rm -rf build node_modules",
"re-start": "rm -rf build node_modules && yarn install && yarn start",