[Build] Staging - Hospital Portal

This commit is contained in:
R
2023-02-14 13:31:49 +07:00
parent ed273fdafa
commit 13764a3766
51 changed files with 735 additions and 3 deletions

View File

@@ -8,8 +8,8 @@
"lint": "eslint --ext .ts,.tsx ./src",
"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-staging": "vite build --mode staging && cp .htaccess build/.htaccess && rm -f -r @/public/dashboard-staging && cp -r build @/public/dashboard-staging",
"build": "vite build --mode production && cp .htaccess build/.htaccess && rm -f -r ../../public/hospital-portal && cp -r build ../../public/hospital-portal",
"build-staging": "vite build --mode staging && cp .htaccess build/.htaccess && rm -f -r ../../public/hospital-portal-staging && cp -r build ../../public/hospital-portal-staging",
"serve": "vite preview",
"clear-all": "rm -rf build node_modules",
"re-start": "rm -rf build node_modules && yarn install && yarn start",