- 新增 `src/apis/index.ts` 文件,用于管理与塞壬唱片官网 API 的交互 - 在 `Home.vue` 中添加 API 调用逻辑,获取并打印专辑数据 - 更新 `vite.config.ts`,添加路径别名配置 - 在 `package.json` 中添加 `@types/node` 依赖 - 调整 `Playing.vue` 和 `App.vue` 的布局样式 - 更新 `manifest.json` 中的安全策略,允许连接到 API
32 lines
708 B
JSON
32 lines
708 B
JSON
{
|
|
"name": "msr-mod",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc -b && vite build && cp -r public/* dist/",
|
|
"build:watch": "vite build --watch",
|
|
"preview": "vite preview",
|
|
"lint": "biome format --write .",
|
|
"quality-check": "biome ci",
|
|
"qc": "npm run quality-check"
|
|
},
|
|
"dependencies": {
|
|
"@tailwindcss/vite": "^4.1.7",
|
|
"axios": "^1.9.0",
|
|
"remixicon": "^4.6.0",
|
|
"tailwindcss": "^4.1.7",
|
|
"vue": "^3.5.13",
|
|
"vue-router": "^4.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "1.9.4",
|
|
"@types/node": "^22.15.21",
|
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
"typescript": "~5.6.2",
|
|
"vite": "^6.0.1",
|
|
"vue-tsc": "^2.1.10"
|
|
}
|
|
}
|