Colocate feature views, components, stores, and upload logic; centralize shared map utilities without changing API behavior. Add ESLint, Prettier, EditorConfig, and VS Code settings; standardize four-space indentation and document the project structure and checks. Validation: npm run check, npm run build, and git diff --check.
49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
{
|
|
"name": "opencloud",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"lint": "eslint . --max-warnings=0",
|
|
"lint:fix": "eslint . --fix --max-warnings=0",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"typecheck": "vue-tsc -b",
|
|
"check": "npm run lint && npm run format:check && npm run check:styles && npm run typecheck",
|
|
"check:styles": "node scripts/check-style-system.mjs",
|
|
"build": "vue-tsc -b && vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@amap/amap-jsapi-loader": "^1.0.1",
|
|
"@vercel/speed-insights": "^2.0.0",
|
|
"better-auth": "^1.7.6",
|
|
"naive-ui": "^2.44.1",
|
|
"pinia": "^3.0.4",
|
|
"vue": "^3.5.34",
|
|
"vue-router": "^4.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "10.0.1",
|
|
"@tailwindcss/vite": "^4.3.3",
|
|
"@types/node": "^24.12.3",
|
|
"@vercel/analytics": "^2.0.1",
|
|
"@vicons/tabler": "^0.13.0",
|
|
"@vicons/utils": "^0.1.4",
|
|
"@vitejs/plugin-vue": "^6.0.6",
|
|
"@vue/tsconfig": "^0.9.1",
|
|
"eslint": "10.11.0",
|
|
"eslint-config-prettier": "10.1.8",
|
|
"eslint-plugin-vue": "10.11.1",
|
|
"globals": "17.12.0",
|
|
"prettier": "3.9.9",
|
|
"tailwindcss": "^4.3.3",
|
|
"typescript": "~6.0.2",
|
|
"typescript-eslint": "8.71.0",
|
|
"vite": "^8.0.16",
|
|
"vue-eslint-parser": "10.4.1",
|
|
"vue-tsc": "^3.2.8"
|
|
}
|
|
}
|