40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"name": "frontend",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"start": "vite --host 0.0.0.0 --port 3000",
|
|
"start:bg": "nohup vite --host 0.0.0.0 --port 3000 > logs/frontend.log 2>&1 &",
|
|
"stop": "pkill -f 'vite'",
|
|
"dev": "vite",
|
|
"build": "vue-tsc -b && vite build",
|
|
"preview": "vite preview",
|
|
"logs": "tail -f logs/frontend.log"
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/icons-vue": "^2.3.1",
|
|
"axios": "^1.8.4",
|
|
"echarts": "^5.6.0",
|
|
"element-plus": "^2.9.7",
|
|
"vue": "^3.5.13",
|
|
"vue-echarts": "^7.0.3",
|
|
"vue-router": "^4.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^8.29.1",
|
|
"@typescript-eslint/parser": "^8.29.1",
|
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
"@vitejs/plugin-vue-jsx": "^4.1.2",
|
|
"@vue/tsconfig": "^0.7.0",
|
|
"eslint": "^9.24.0",
|
|
"eslint-config-prettier": "^10.1.2",
|
|
"eslint-plugin-prettier": "^5.2.6",
|
|
"eslint-plugin-vue": "^10.0.0",
|
|
"prettier": "^3.5.3",
|
|
"typescript": "~5.7.2",
|
|
"vite": "^6.2.0",
|
|
"vue-tsc": "^2.2.4"
|
|
}
|
|
}
|