添加 webextension-polyfill 依赖以支持浏览器扩展存储 API 创建 usePreferences store 管理用户偏好设置 将 Playroom 页面的时间显示切换功能迁移至偏好设置 store
35 lines
808 B
JSON
35 lines
808 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",
|
|
"gsap": "^3.13.0",
|
|
"pinia": "^3.0.2",
|
|
"tailwindcss": "^4.1.7",
|
|
"vue": "^3.5.13",
|
|
"vue-router": "^4.5.1",
|
|
"webextension-polyfill": "^0.12.0"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "1.9.4",
|
|
"@types/node": "^22.15.21",
|
|
"@types/webextension-polyfill": "^0.12.3",
|
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
"typescript": "~5.6.2",
|
|
"vite": "^6.0.1",
|
|
"vue-tsc": "^2.1.10"
|
|
}
|
|
}
|