You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
2.2 KiB
84 lines
2.2 KiB
{
|
|
"name": "frontend-vue",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --config vite.config.ts",
|
|
"lint": "eslint \"src/**/*.{ts,vue}\"",
|
|
"lint:fix": "pnpm run lint --fix",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"e2e": "playwright test --project=api",
|
|
"e2e:ui": "playwright test --project=ui-chromium",
|
|
"e2e:ui:install": "playwright install --with-deps chromium",
|
|
"e2e:ui:docker": "bash scripts/e2e-ui-docker.sh",
|
|
"build": "vite build --config vite.config.ts",
|
|
"preview": "vite preview --config vite.config.ts"
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/icons-vue": "^2.3.2",
|
|
"@vueuse/core": "^14.1.0",
|
|
"axios": "^1.7.7",
|
|
"echarts": "^5.5.0",
|
|
"element-plus": "^2.13.0",
|
|
"marked": "^17.0.1",
|
|
"pinia": "^2.1.7",
|
|
"vue": "^3.4.38",
|
|
"vue-i18n": "9",
|
|
"vue-router": "^4.4.5"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.50.1",
|
|
"@types/marked": "^5.0.2",
|
|
"@typescript-eslint/eslint-plugin": "^8.18.0",
|
|
"@typescript-eslint/parser": "^8.18.0",
|
|
"@vitejs/plugin-vue": "^5.1.2",
|
|
"@vue/test-utils": "^2.4.6",
|
|
"amfe-flexible": "^2.2.1",
|
|
"eslint": "^8.57.1",
|
|
"eslint-plugin-vue": "^9.32.0",
|
|
"happy-dom": "^16.3.1",
|
|
"postcss-pxtorem": "^6.1.0",
|
|
"sass": "^1.97.2",
|
|
"typescript": "^5.6.2",
|
|
"unplugin-vue-components": "^30.0.0",
|
|
"vite": "^5.4.10",
|
|
"vitest": "^2.1.9",
|
|
"vue-eslint-parser": "^9.4.3"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"es2022": true
|
|
},
|
|
"parser": "vue-eslint-parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2022,
|
|
"sourceType": "module",
|
|
"parser": "@typescript-eslint/parser"
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:vue/vue3-essential"
|
|
],
|
|
"plugins": [
|
|
"vue",
|
|
"@typescript-eslint"
|
|
],
|
|
"ignorePatterns": [
|
|
"dist",
|
|
"node_modules"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
"no-unused-vars": "off",
|
|
"vue/multi-word-component-names": "off"
|
|
}
|
|
}
|
|
}
|