h_mo 26a8bfba42 refactor(iconify): 更新图标组件并调整样式
- 重构Iconify组件,移除点击事件处理和冗余的数字检查函数。- 添加组件文档注释,说明如何使用和可用图标库。
- 更改模板中使用的图标类名前缀以适应新组件。
- 在尾风CSS配置中引入新图标集合,并调整插件顺序。- 更新示例页面上的图标,统一使用'i-mdi-account-box'进行测试。
- 在package.json中调整mp-weixin的开发命令,移除与devtools相关的部分。- 从'tailwind.config.js'中移除预制和容器核心插件的MP适配代码。BREAKING CHANGE: 图标类名前缀已更改,这可能会影响使用自定义样式或依赖特定类名的图标组件的现有代码。请确保更新图标引用以反映这些更改。
2024-08-20 11:30:04 +08:00

103 lines
3.9 KiB
JSON

{
"name": "uniapp_vue3_vite_ts",
"type": "module",
"version": "2.0.0-alpha.1",
"scripts": {
"dev:app": "uni -p app",
"dev:custom": "uni -p",
"dev:h5": "pnpm git:hooks && uni",
"dev:h5:ssr": "uni --ssr",
"dev:mp-alipay": "uni -p mp-alipay",
"dev:mp-baidu": "uni -p mp-baidu",
"dev:mp-kuaishou": "uni -p mp-kuaishou",
"dev:mp-lark": "uni -p mp-lark",
"dev:mp-qq": "uni -p mp-qq",
"dev:mp-toutiao": "uni -p mp-toutiao",
"dev:mp-weixin": "pnpm git:hooks && uni -p mp-weixin",
"dev:quickapp-webview": "uni -p quickapp-webview",
"dev:quickapp-webview-huawei": "uni -p quickapp-webview-huawei",
"dev:quickapp-webview-union": "uni -p quickapp-webview-union",
"build:app": "uni build -p app",
"build:custom": "uni build -p",
"build:h5": "uni build --minify",
"build:h5:ssr": "uni build --ssr",
"build:mp-alipay": "uni build -p mp-alipay",
"build:mp-baidu": "uni build -p mp-baidu",
"build:mp-kuaishou": "uni build -p mp-kuaishou",
"build:mp-lark": "uni build -p mp-lark",
"build:mp-qq": "uni build -p mp-qq",
"build:mp-toutiao": "uni build -p mp-toutiao",
"build:mp-weixin": "uni build -p mp-weixin --minify",
"build:quickapp-webview": "uni build -p quickapp-webview",
"build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei",
"build:quickapp-webview-union": "uni build -p quickapp-webview-union",
"lint:fix": "eslint . --fix",
"git:hooks": "npx simple-git-hooks",
"postinstall": "weapp-tw patch"
},
"dependencies": {
"@alova/adapter-uniapp": "^1.2.2",
"@alova/mock": "^1.5.2",
"@dcloudio/uni-app": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-app-plus": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-components": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-h5": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-i18n": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-mp-alipay": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-mp-baidu": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-mp-kuaishou": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-mp-lark": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-mp-qq": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-mp-toutiao": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-mp-weixin": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-quickapp-webview": "3.0.0-alpha-4020520240808001",
"@multiavatar/multiavatar": "^1.0.7",
"alova": "^2.21.4",
"crypto-js": "^4.2.0",
"lodash-es": "^4.17.21",
"pinia": "^2.2.2",
"vue": "^3.4.38"
},
"devDependencies": {
"@antfu/eslint-config": "^2.26.0",
"@dcloudio/types": "^3.4.12",
"@dcloudio/uni-automator": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-cli-shared": "3.0.0-alpha-4020520240808001",
"@dcloudio/uni-stacktracey": "3.0.0-alpha-4020520240808001",
"@dcloudio/vite-plugin-uni": "3.0.0-alpha-4020520240808001",
"@egoist/tailwindcss-icons": "^1.8.1",
"@iconify/json": "^2.2.238",
"@types/crypto-js": "^4.2.2",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.16.1",
"@vitejs/plugin-vue": "^5.1.2",
"@vue/runtime-core": "^3.4.38",
"autoprefixer": "^10.4.20",
"eslint": "^9.9.0",
"eslint-plugin-format": "^0.1.2",
"globals": "^15.9.0",
"lint-staged": "^15.2.9",
"picocolors": "^1.0.1",
"postcss": "^8.4.41",
"rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.77.8",
"simple-git-hooks": "^2.11.1",
"tailwindcss": "^3.4.10",
"tsx": "^4.17.0",
"typescript": "^5.5.4",
"uni-mini-router": "^0.1.6",
"uni-read-pages-vite": "^0.0.6",
"unplugin-auto-import": "^0.18.2",
"vite": "^5.4.1",
"vite-plugin-restart": "^0.4.1",
"weapp-tailwindcss": "^3.5.0"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"commit-msg": "npx tsx ./scripts/verify-commit.ts"
},
"lint-staged": {
"*": "eslint . --fix"
}
}