Files
plugin-starter/ui/package.json
Ryan Wang b302131c52 chore: update infrastructure for UI (#39)
更新 UI 部分的基础设施。

1. 更新所有的依赖为最新版本。
2. 添加 `@halo-dev/api-client` 和 `axios` 依赖。
3. pnpm 要求提升至 9。
4. 更新 Node 的 Gradle 插件。

```release-note
None
```
2024-07-02 05:41:22 +00:00

45 lines
1.3 KiB
JSON

{
"scripts": {
"dev": "vite build --watch --mode=development",
"build": "run-p type-check \"build-only {@}\" --",
"build-only": "vite build",
"test:unit": "vitest",
"type-check": "vue-tsc --build --force",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"prettier": "prettier --write src/"
},
"dependencies": {
"@halo-dev/api-client": "^2.17.0",
"@halo-dev/components": "^2.17.0",
"@halo-dev/console-shared": "^2.17.0",
"axios": "^1.7.2",
"canvas-confetti": "^1.9.3",
"vue": "^3.4.31"
},
"devDependencies": {
"@halo-dev/ui-plugin-bundler-kit": "^2.17.0",
"@iconify/json": "^2.2.224",
"@rushstack/eslint-patch": "^1.10.3",
"@tsconfig/node20": "^20.1.4",
"@types/canvas-confetti": "^1.6.4",
"@types/jsdom": "^21.1.7",
"@types/node": "^20.14.9",
"@vitejs/plugin-vue": "^5.0.5",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.5.1",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.26.0",
"jsdom": "^24.1.0",
"npm-run-all2": "^6.2.0",
"prettier": "^3.3.2",
"sass": "^1.77.6",
"typescript": "~5.5.3",
"unplugin-icons": "^0.19.0",
"vite": "^5.3.2",
"vitest": "^1.6.0",
"vue-tsc": "^2.0.24"
}
}