2025-06-09 10:23:45 +08:00
|
|
|
{
|
|
|
|
|
"name": "my-website",
|
|
|
|
|
"private": true,
|
2025-06-11 17:09:33 +08:00
|
|
|
"version": "0.0.1",
|
2025-06-09 10:23:45 +08:00
|
|
|
"type": "module",
|
|
|
|
|
"scripts": {
|
2025-06-11 17:09:33 +08:00
|
|
|
"dev": "vite --host --port 9527",
|
2025-06-09 10:23:45 +08:00
|
|
|
"build": "vue-tsc -b && vite build",
|
|
|
|
|
"preview": "vite preview",
|
2025-06-10 17:15:13 +08:00
|
|
|
"audit": "npm audit --fix",
|
2025-06-09 18:22:14 +08:00
|
|
|
"lint": "eslint . --ext .vue,.js,.jsx,.ts,.tsx --fix --max-warnings 0",
|
2025-06-09 10:23:45 +08:00
|
|
|
"lint:check": "eslint . --ext .vue,.js,.jsx,.ts,.tsx",
|
2025-06-09 18:22:14 +08:00
|
|
|
"prepare": "husky install",
|
|
|
|
|
"reinstall": "rm -rf node_modules package-lock.json && npm install"
|
2025-06-09 10:23:45 +08:00
|
|
|
},
|
|
|
|
|
"lint-staged": {
|
|
|
|
|
"*.{vue,js,ts,jsx,tsx}": [
|
|
|
|
|
"eslint --fix",
|
|
|
|
|
"prettier --write"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"@vueuse/core": "^13.3.0",
|
|
|
|
|
"axios": "^1.9.0",
|
|
|
|
|
"pinia": "^2.1.7",
|
2025-06-09 18:50:07 +08:00
|
|
|
"postcss-px-to-viewport": "^1.1.1",
|
2025-06-09 10:23:45 +08:00
|
|
|
"vue": "^3.5.13",
|
|
|
|
|
"vue-router": "^4.5.1"
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2025-06-10 16:17:20 +08:00
|
|
|
"@commitlint/cli": "^19.8.1",
|
|
|
|
|
"@commitlint/config-conventional": "^19.8.1",
|
2025-06-10 16:15:04 +08:00
|
|
|
"@types/node": "^20.19.0",
|
|
|
|
|
"@typescript-eslint/eslint-plugin": "6.13.2",
|
|
|
|
|
"@typescript-eslint/parser": "6.13.2",
|
2025-06-11 17:47:18 +08:00
|
|
|
"@vitejs/plugin-legacy": "^5.1.0",
|
2025-06-09 10:23:45 +08:00
|
|
|
"@vitejs/plugin-vue": "^4.2.3",
|
2025-06-09 17:10:41 +08:00
|
|
|
"@vue/eslint-config-typescript": "12.0.0",
|
2025-06-09 10:23:45 +08:00
|
|
|
"@vue/tsconfig": "^0.7.0",
|
|
|
|
|
"autoprefixer": "^10.4.14",
|
2025-06-09 17:10:41 +08:00
|
|
|
"eslint": "8.57.1",
|
|
|
|
|
"eslint-config-prettier": "9.1.0",
|
|
|
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
|
|
|
"eslint-plugin-vue": "^9.0.0",
|
2025-06-09 10:23:45 +08:00
|
|
|
"husky": "^8.0.0",
|
|
|
|
|
"less": "^4.3.0",
|
|
|
|
|
"less-loader": "^12.3.0",
|
|
|
|
|
"lint-staged": "^16.1.0",
|
|
|
|
|
"postcss": "^8.4.24",
|
2025-06-09 18:50:07 +08:00
|
|
|
"postcss-px-to-viewport-8-plugin": "^1.2.5",
|
2025-06-09 10:23:45 +08:00
|
|
|
"prettier": "^3.5.3",
|
2025-06-09 17:10:41 +08:00
|
|
|
"typescript": "5.1.6",
|
2025-06-11 17:09:33 +08:00
|
|
|
"unplugin-auto-import": "^19.3.0",
|
|
|
|
|
"unplugin-vue-components": "^28.7.0",
|
2025-06-11 17:47:18 +08:00
|
|
|
"vite": "^5.4.19",
|
2025-06-10 17:15:13 +08:00
|
|
|
"vite-plugin-imagemin": "^0.6.1",
|
2025-06-11 17:09:33 +08:00
|
|
|
"vite-ssg": "^27.0.1",
|
2025-06-10 16:15:04 +08:00
|
|
|
"vue-tsc": "1.8.14"
|
2025-06-09 10:23:45 +08:00
|
|
|
}
|
|
|
|
|
}
|