pose / web /client /package.json
amitesh11's picture
Update web/client/package.json
5e6b50a verified
{
"name": "exercise-correction",
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"build:deploy": "npm run set-base-url && npm run build && npm run move-build-to-server",
"preview": "vite preview --port 4173",
"test:unit": "vitest --environment jsdom",
"move:assets": "rsync -a --delete ./dist/static/* ../server/static/",
"move:index": "cp -fr ./dist/index.html ../server/templates/",
"move-build-to-server": "npm run move:assets && npm run move:index",
"set-base-url": "rm -f .env.local && echo \"VITE_BASE_URL=http://127.0.0.1\" >| .env.local"
},
"dependencies": {
"axios": "^1.1.2",
"pinia": "^2.0.21",
"sass": "^1.55.0",
"vue": "^3.2.38",
"vue-router": "^4.1.5"
},
"devDependencies": {
"@vitejs/plugin-vue": "^3.0.3",
"@vue/test-utils": "^2.0.2",
"jsdom": "^20.0.0",
"vite": "^3.0.9",
"vitest": "^0.23.0"
}
}