amitesh11 commited on
Commit
5e6b50a
1 Parent(s): 5f42a40

Update web/client/package.json

Browse files
Files changed (1) hide show
  1. web/client/package.json +3 -3
web/client/package.json CHANGED
@@ -7,10 +7,10 @@
7
  "build:deploy": "npm run set-base-url && npm run build && npm run move-build-to-server",
8
  "preview": "vite preview --port 4173",
9
  "test:unit": "vitest --environment jsdom",
10
- "move:assets": "xcopy /s /e /y .\\dist\\static\\* ..\\server\\static\\",
11
- "move:index": "copy /Y .\\dist\\index.html ..\\server\\templates\\",
12
  "move-build-to-server": "npm run move:assets && npm run move:index",
13
- "set-base-url": "echo VITE_BASE_URL=http://127.0.0.1 > .env.local"
14
  },
15
  "dependencies": {
16
  "axios": "^1.1.2",
 
7
  "build:deploy": "npm run set-base-url && npm run build && npm run move-build-to-server",
8
  "preview": "vite preview --port 4173",
9
  "test:unit": "vitest --environment jsdom",
10
+ "move:assets": "rsync -a --delete ./dist/static/* ../server/static/",
11
+ "move:index": "cp -fr ./dist/index.html ../server/templates/",
12
  "move-build-to-server": "npm run move:assets && npm run move:index",
13
+ "set-base-url": "rm -f .env.local && echo \"VITE_BASE_URL=http://127.0.0.1\" >| .env.local"
14
  },
15
  "dependencies": {
16
  "axios": "^1.1.2",