uniapp-dyckui 4.1.1 → 4.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +154 -104
  2. package/package.json +211 -218
package/README.md CHANGED
@@ -1,104 +1,154 @@
1
-
2
- `unibest` —— 最好的 `uniapp` 开发模板,由 `uniapp` + `Vue3` + `Ts` + `Vite5` + `UnoCss` + `wot-ui` + `z-paging` 构成,使用了最新的前端技术栈,无需依靠 `HBuilderX`,通过命令行方式运行 `web`、`小程序` 和 `App`(编辑器推荐 `VSCode`,可选 `webstorm`)。
3
-
4
- `unibest` 内置了 `约定式路由`、`layout布局`、`请求封装`、`请求拦截`、`登录拦截`、`UnoCSS`、`i18n多语言` 等基础功能,提供了 `代码提示`、`自动格式化`、`统一配置`、`代码片段` 等辅助功能,让你编写 `uniapp` 拥有 `best` 体验 ( `unibest 的由来`)。
5
-
6
- ## 📁 目录结构
7
-
8
- ```
9
- ├── .commitlintrc.cjs # Commitlint 配置
10
- ├── .editorconfig # 编辑器配置
11
- ├── .github/ # GitHub 配置
12
- ├── .gitignore # Git 忽略文件
13
- ├── .husky/ # Husky Git Hooks
14
- ├── .npmrc # npm 配置
15
- ├── .vscode/ # VSCode 配置
16
- ├── env/ # 环境变量配置
17
- ├── eslint.config.mjs # ESLint 配置
18
- ├── index.html # HTML 入口
19
- ├── manifest.config.ts # uni-app 应用配置
20
- ├── openapi-ts-request.config.ts # OpenAPI 配置
21
- ├── package.json # 项目依赖
22
- ├── pages.config.ts # 页面路由配置
23
- ├── pnpm-lock.yaml # pnpm 锁文件
24
- ├── scripts/ # 脚本工具
25
- ├── src/ # 源代码
26
- │ ├── api/ # API 接口定义
27
- │ ├── components/ # 全局组件
28
- │ ├── hooks/ # Vue 组合式函数
29
- │ ├── http/ # HTTP 请求封装
30
- │ ├── layouts/ # 布局组件
31
- │ ├── pages/ # 页面组件
32
- │ ├── router/ # 路由配置
33
- │ ├── service/ # 业务逻辑层
34
- │ ├── static/ # 静态资源
35
- │ ├── store/ # Pinia 状态管理
36
- │ ├── style/ # 样式文件
37
- │ ├── tabbar/ # 底部导航栏
38
- │ ├── uni_modules/ # uni-app 插件
39
- │ ├── utils/ # 工具函数
40
- │ ├── App.ku.vue # 全局根组件
41
- │ ├── App.vue # 应用入口组件
42
- │ ├── main.ts # TypeScript 入口
43
- │ ├── typings.d.ts # 类型声明
44
- │ ├── typings.ts # 类型定义
45
- │ └── uni.scss # uni-app 全局样式
46
- ├── tsconfig.json # TypeScript 配置
47
- ├── uno.config.ts # UnoCSS 配置
48
- ├── vite-plugins/ # Vite 插件
49
- └── vite.config.ts # Vite 配置
50
- ```
51
-
52
- <p align="center">
53
- <a href="https://unibest.tech/" target="_blank">📖 文档地址(new)</a>
54
- <span style="margin:0 10px;">|</span>
55
- <a href="https://unibest-tech.github.io/hello-unibest" target="_blank">📱 DEMO 地址</a>
56
- </p>
57
-
58
- ---
59
-
60
-
61
-
62
- ## 平台兼容性
63
-
64
- | H5 | IOS | 安卓 | 微信小程序 | 字节小程序 | 快手小程序 | 支付宝小程序 | 钉钉小程序 | 百度小程序 |
65
- | --- | --- | ---- | ---------- | ---------- | ---------- | ------------ | ---------- | ---------- |
66
- | √ | √ | √ | √ | √ | √ | √ | √ | √ |
67
-
68
- 注意每种 `UI框架` 支持的平台有所不同,详情请看各 `UI框架` 的官网,也可以看 `unibest` 文档。
69
-
70
- ## ⚙️ 环境
71
-
72
- - node>=18
73
- - pnpm>=7.30
74
- - Vue Official>=2.1.10
75
- - TypeScript>=5.0
76
-
77
- ## 新版分支
78
- - main == base
79
- - base --> base-i18n
80
- - base-login --> base-login-i18n
81
-
82
- ## &#x1F4C2; 快速开始
83
-
84
- 执行 `pnpm create unibest` 创建项目
85
- 执行 `pnpm i` 安装依赖
86
- 执行 `pnpm dev` 运行 `H5`
87
- 执行 `pnpm dev:mp` 运行 `微信小程序`
88
-
89
- ## 📦 运行(支持热更新)
90
-
91
- - web平台: `pnpm dev:h5`, 然后打开 [http://localhost:9000/](http://localhost:9000/)
92
- - weixin平台:`pnpm dev:mp` 然后打开微信开发者工具,导入本地文件夹,选择本项目的`dist/dev/mp-weixin` 文件。
93
- - APP平台:`pnpm dev:app`, 然后打开 `HBuilderX`,导入刚刚生成的`dist/dev/app` 文件夹,选择运行到模拟器(开发时优先使用),或者运行的安卓/ios基座。(如果是 `安卓` 和 `鸿蒙` 平台,则不用这个方式,可以把整个unibest项目导入到hbx,通过hbx的菜单来运行到对应的平台。)
94
-
95
- ## 🔗 发布
96
-
97
- - web平台: `pnpm build:h5`,打包后的文件在 `dist/build/h5`,可以放到web服务器,如nginx运行。如果最终不是放在根目录,可以在 `manifest.config.ts` 文件的 `h5.router.base` 属性进行修改。
98
- - weixin平台:`pnpm build:mp`, 打包后的文件在 `dist/build/mp-weixin`,然后通过微信开发者工具导入,并点击右上角的“上传”按钮进行上传。
99
- - APP平台:`pnpm build:app`, 然后打开 `HBuilderX`,导入刚刚生成的`dist/build/app` 文件夹,选择发行 - APP云打包。(如果是 `安卓` 和 `鸿蒙` 平台,则不用这个方式,可以把整个unibest项目导入到hbx,通过hbx的菜单来发行到对应的平台。)
100
-
101
-
102
-
103
-
104
-
1
+ 由 `uniapp` + `Vue3` + `Ts` + `Vite5` + `UnoCss` + `wot-ui` + `z-paging` 构成,
2
+
3
+ ## 📦 内置组件库
4
+
5
+ `unibest` 内置了一套完整的组件库,包含多种常用组件,可直接在项目中使用:
6
+
7
+ ### 基础组件
8
+ - **Button**:按钮组件,支持多种样式和状态
9
+ - **Dialog**:对话框组件,用于信息提示和用户交互
10
+ - **Divider**:分割线组件,用于分隔内容
11
+ - **Popup**:弹出层组件,支持多种弹出方式
12
+ - **Toast**:轻提示组件,用于短暂信息展示
13
+ - **Swiper**:轮播图组件,支持自动轮播和手势滑动
14
+
15
+ ### 交互组件
16
+ - **InfiniteScroll**:无限滚动组件,用于加载更多数据
17
+ - **PullRefresh**:下拉刷新组件,用于刷新页面内容
18
+
19
+ ### 表单组件
20
+ - **DropdownSelect**:下拉选择器组件,支持单选和多选
21
+ - **DropdownWithBadge**:带徽章的下拉组件,用于展示带有数量提示的选择项
22
+
23
+ ### 筛选组件
24
+ - **FilterDrawer**:筛选抽屉组件,用于复杂条件筛选
25
+
26
+ ## 📖 组件引用与示例
27
+
28
+ ### 全局引入
29
+
30
+ `main.ts` 中全局引入所有组件:
31
+
32
+ ```typescript
33
+ import { createApp } from 'vue'
34
+ import App from './App.vue'
35
+ import * as MyComs from './components/MyComs'
36
+
37
+ const app = createApp(App)
38
+
39
+ // 全局注册所有组件
40
+ for (const [name, component] of Object.entries(MyComs)) {
41
+ if (typeof component === 'object' && component !== null) {
42
+ app.component(name, component)
43
+ }
44
+ }
45
+
46
+ app.mount('#app')
47
+ ```
48
+
49
+ ### 局部引入
50
+
51
+ 在需要使用的页面或组件中局部引入:
52
+
53
+ ```vue
54
+ <script setup lang="ts">
55
+ import { Button, Toast } from '@/components/MyComs'
56
+
57
+ const handleClick = () => {
58
+ Toast('按钮被点击了')
59
+ }
60
+ </script>
61
+
62
+ <template>
63
+ <Button @click="handleClick" type="primary">点击我</Button>
64
+ </template>
65
+ ```
66
+
67
+ ### 组件使用示例
68
+
69
+ #### Button 组件
70
+ ```vue
71
+ <Button type="primary">主要按钮</Button>
72
+ <Button type="success">成功按钮</Button>
73
+ <Button type="warning">警告按钮</Button>
74
+ <Button type="danger">危险按钮</Button>
75
+ ```
76
+
77
+ #### Dialog 组件
78
+ ```vue
79
+ <script setup lang="ts">
80
+ import { Dialog } from '@/components/MyComs'
81
+
82
+ const showDialog = () => {
83
+ Dialog({
84
+ title: '提示',
85
+ content: '确定要执行此操作吗?',
86
+ confirmText: '确定',
87
+ cancelText: '取消',
88
+ onConfirm: () => {
89
+ console.log('用户点击了确定')
90
+ },
91
+ onCancel: () => {
92
+ console.log('用户点击了取消')
93
+ }
94
+ })
95
+ }
96
+ </script>
97
+
98
+ <template>
99
+ <Button @click="showDialog">显示对话框</Button>
100
+ </template>
101
+ ```
102
+
103
+ #### PullRefresh 组件
104
+ ```vue
105
+ <script setup lang="ts">
106
+ import { PullRefresh } from '@/components/MyComs'
107
+
108
+ const onRefresh = async () => {
109
+ // 模拟网络请求
110
+ await new Promise(resolve => setTimeout(resolve, 1500))
111
+ console.log('刷新完成')
112
+ }
113
+ </script>
114
+
115
+ <template>
116
+ <PullRefresh @refresh="onRefresh">
117
+ <div class="content">
118
+ <!-- 页面内容 -->
119
+ </div>
120
+ </PullRefresh>
121
+ </template>
122
+ ```
123
+
124
+
125
+ <p align="center">
126
+ <a href="https://unibest.tech/" target="_blank">📖 文档地址(new)</a>
127
+ <span style="margin:0 10px;">|</span>
128
+ <a href="https://unibest-tech.github.io/hello-unibest" target="_blank">📱 DEMO 地址</a>
129
+ </p>
130
+
131
+ ---
132
+
133
+
134
+
135
+ ## 平台兼容性
136
+
137
+ | H5 | IOS | 安卓 | 微信小程序 | 字节小程序 | 快手小程序 | 支付宝小程序 | 钉钉小程序 | 百度小程序 |
138
+ | --- | --- | ---- | ---------- | ---------- | ---------- | ------------ | ---------- | ---------- |
139
+ | √ | √ | √ | √ | √ | √ | √ | √ | √ |
140
+
141
+ 注意每种 `UI框架` 支持的平台有所不同,详情请看各 `UI框架` 的官网,也可以看 `unibest` 文档。
142
+
143
+ ## ⚙️ 环境
144
+
145
+ - node>=18
146
+ - pnpm>=7.30
147
+ - Vue Official>=2.1.10
148
+ - TypeScript>=5.0
149
+
150
+
151
+
152
+
153
+
154
+
package/package.json CHANGED
@@ -1,218 +1,211 @@
1
- {
2
- "name": "uniapp-dyckui",
3
- "type": "module",
4
- "version": "4.1.1",
5
- "unibest-version": "4.1.1",
6
- "unibest-update-time": "2025-12-04",
7
- "packageManager": "pnpm@10.10.0",
8
- "description": "uniapp-dyckui - 基于 uni-app 的优质组件库",
9
- "generate-time": "用户创建项目时生成",
10
- "author": {
11
- "name": "feige996",
12
- "zhName": "菲鸽",
13
- "email": "1020103647@qq.com",
14
- "github": "https://github.com/feige996",
15
- "gitee": "https://gitee.com/feige996"
16
- },
17
- "license": "MIT",
18
- "homepage": "https://unibest.tech",
19
- "repository": "https://github.com/feige996/unibest",
20
- "bugs": {
21
- "url": "https://github.com/feige996/unibest/issues",
22
- "url-old": "https://github.com/codercup/unibest/issues"
23
- },
24
- "exports": {
25
- ".": {
26
- "types": "./dist/index.d.ts",
27
- "import": "./dist/index.mjs",
28
- "require": "./dist/index.cjs"
29
- },
30
- "./components/*": {
31
- "types": "./dist/components/*.d.ts",
32
- "import": "./dist/components/*.mjs",
33
- "require": "./dist/components/*.cjs"
34
- },
35
- "./package.json": "./package.json"
36
- },
37
- "main": "dist/index.cjs",
38
- "module": "dist/index.mjs",
39
- "types": "dist/index.d.ts",
40
- "files": [
41
- "LICENSE",
42
- "README.md",
43
- "dist",
44
- "src/components/MyComs"
45
- ],
46
- "engines": {
47
- "node": ">=20",
48
- "pnpm": ">=9"
49
- },
50
- "scripts": {
51
- "build:lib": "vite build -c vite.config.library.ts",
52
- "preinstall": "npx only-allow pnpm",
53
- "uvm": "npx @dcloudio/uvm@latest",
54
- "uvm-rm": "node ./scripts/postupgrade.js",
55
- "postuvm": "echo upgrade uni-app success!",
56
- "dev:app": "uni -p app",
57
- "dev:app:test": "uni -p app --mode test",
58
- "dev:app:prod": "uni -p app --mode production",
59
- "dev:app-android": "uni -p app-android",
60
- "dev:app-ios": "uni -p app-ios",
61
- "dev:custom": "uni -p",
62
- "predev": "pnpm init-baseFiles",
63
- "dev": "uni",
64
- "dev:test": "uni --mode test",
65
- "dev:prod": "uni --mode production",
66
- "dev:h5": "uni",
67
- "dev:h5:test": "uni --mode test",
68
- "dev:h5:prod": "uni --mode production",
69
- "dev:h5:ssr": "uni --ssr",
70
- "dev:mp": "uni -p mp-weixin",
71
- "dev:mp:test": "uni -p mp-weixin --mode test",
72
- "dev:mp:prod": "uni -p mp-weixin --mode production",
73
- "dev:mp-alipay": "uni -p mp-alipay",
74
- "dev:mp-baidu": "uni -p mp-baidu",
75
- "dev:mp-jd": "uni -p mp-jd",
76
- "dev:mp-kuaishou": "uni -p mp-kuaishou",
77
- "dev:mp-lark": "uni -p mp-lark",
78
- "dev:mp-qq": "uni -p mp-qq",
79
- "dev:mp-toutiao": "uni -p mp-toutiao",
80
- "dev:mp-weixin": "uni -p mp-weixin",
81
- "dev:mp-xhs": "uni -p mp-xhs",
82
- "dev:quickapp-webview": "uni -p quickapp-webview",
83
- "dev:quickapp-webview-huawei": "uni -p quickapp-webview-huawei",
84
- "dev:quickapp-webview-union": "uni -p quickapp-webview-union",
85
- "build:app": "uni build -p app",
86
- "build:app:test": "uni build -p app --mode test",
87
- "build:app:prod": "uni build -p app --mode production",
88
- "build:app-android": "uni build -p app-android",
89
- "build:app-ios": "uni build -p app-ios",
90
- "build:custom": "uni build -p",
91
- "build:h5": "uni build",
92
- "build:h5:test": "uni build --mode test",
93
- "build:h5:prod": "uni build --mode production",
94
- "build": "uni build",
95
- "build:test": "uni build --mode test",
96
- "build:prod": "uni build --mode production",
97
- "build:h5:ssr": "uni build --ssr",
98
- "build:mp-alipay": "uni build -p mp-alipay",
99
- "build:mp": "uni build -p mp-weixin",
100
- "build:mp:test": "uni build -p mp-weixin --mode test",
101
- "build:mp:prod": "uni build -p mp-weixin --mode production",
102
- "build:mp-baidu": "uni build -p mp-baidu",
103
- "build:mp-jd": "uni build -p mp-jd",
104
- "build:mp-kuaishou": "uni build -p mp-kuaishou",
105
- "build:mp-lark": "uni build -p mp-lark",
106
- "build:mp-qq": "uni build -p mp-qq",
107
- "build:mp-toutiao": "uni build -p mp-toutiao",
108
- "build:mp-weixin": "uni build -p mp-weixin",
109
- "build:mp-xhs": "uni build -p mp-xhs",
110
- "build:quickapp-webview": "uni build -p quickapp-webview",
111
- "build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei",
112
- "build:quickapp-webview-union": "uni build -p quickapp-webview-union",
113
- "type-check": "vue-tsc --noEmit",
114
- "openapi": "openapi-ts",
115
- "init-husky": "git init && husky",
116
- "init-baseFiles": "node ./scripts/create-base-files.js",
117
- "init-json": "pnpm init-baseFiles",
118
- "prepare": "pnpm init-husky & pnpm init-baseFiles",
119
- "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
120
- },
121
- "dependencies": {
122
- "@alova/adapter-uniapp": "^2.0.14",
123
- "@alova/shared": "^1.3.1",
124
- "@dcloudio/uni-app": "3.0.0-4070620250821001",
125
- "@dcloudio/uni-app-harmony": "3.0.0-4070620250821001",
126
- "@dcloudio/uni-app-plus": "3.0.0-4070620250821001",
127
- "@dcloudio/uni-components": "3.0.0-4070620250821001",
128
- "@dcloudio/uni-h5": "3.0.0-4070620250821001",
129
- "@dcloudio/uni-mp-alipay": "3.0.0-4070620250821001",
130
- "@dcloudio/uni-mp-baidu": "3.0.0-4070620250821001",
131
- "@dcloudio/uni-mp-harmony": "3.0.0-4070620250821001",
132
- "@dcloudio/uni-mp-jd": "3.0.0-4070620250821001",
133
- "@dcloudio/uni-mp-kuaishou": "3.0.0-4070620250821001",
134
- "@dcloudio/uni-mp-lark": "3.0.0-4070620250821001",
135
- "@dcloudio/uni-mp-qq": "3.0.0-4070620250821001",
136
- "@dcloudio/uni-mp-toutiao": "3.0.0-4070620250821001",
137
- "@dcloudio/uni-mp-weixin": "3.0.0-4070620250821001",
138
- "@dcloudio/uni-mp-xhs": "3.0.0-4070620250821001",
139
- "@dcloudio/uni-quickapp-webview": "3.0.0-4070620250821001",
140
- "abortcontroller-polyfill": "^1.7.8",
141
- "alova": "^3.3.3",
142
- "dayjs": "1.11.10",
143
- "pinia": "2.0.36",
144
- "pinia-plugin-persistedstate": "3.2.1",
145
- "vue": "^3.4.21",
146
- "vue-i18n": "9.1.9",
147
- "vue-router": "4.5.1",
148
- "z-paging": "2.8.7"
149
- },
150
- "devDependencies": {
151
- "@commitlint/cli": "^19.8.1",
152
- "@commitlint/config-conventional": "^19.8.1",
153
- "@dcloudio/types": "^3.4.8",
154
- "@dcloudio/uni-automator": "3.0.0-4070620250821001",
155
- "@dcloudio/uni-cli-shared": "3.0.0-4070620250821001",
156
- "@dcloudio/uni-stacktracey": "3.0.0-4070620250821001",
157
- "@dcloudio/vite-plugin-uni": "3.0.0-4070620250821001",
158
- "@esbuild/darwin-arm64": "0.20.2",
159
- "@esbuild/darwin-x64": "0.20.2",
160
- "@iconify-json/carbon": "^1.2.4",
161
- "@iconify/utils": "^3.0.2",
162
- "@rollup/rollup-darwin-x64": "^4.28.0",
163
- "@types/node": "^20.17.9",
164
- "@uni-helper/eslint-config": "0.5.0",
165
- "@uni-helper/plugin-uni": "0.1.0",
166
- "@uni-helper/uni-env": "0.1.8",
167
- "@uni-helper/uni-types": "1.0.0-alpha.6",
168
- "@uni-helper/unocss-preset-uni": "0.2.11",
169
- "@uni-helper/vite-plugin-uni-components": "0.2.3",
170
- "@uni-helper/vite-plugin-uni-layouts": "0.1.11",
171
- "@uni-helper/vite-plugin-uni-manifest": "0.2.11",
172
- "@uni-helper/vite-plugin-uni-pages": "0.3.19",
173
- "@uni-helper/vite-plugin-uni-platform": "0.0.5",
174
- "@uni-ku/bundle-optimizer": "v1.3.15-beta.2",
175
- "@uni-ku/root": "1.4.1",
176
- "@unocss/eslint-plugin": "^66.2.3",
177
- "@unocss/preset-legacy-compat": "66.0.0",
178
- "@vue/runtime-core": "^3.4.21",
179
- "@vue/tsconfig": "^0.1.3",
180
- "autoprefixer": "^10.4.20",
181
- "cross-env": "^10.0.0",
182
- "eslint": "^9.31.0",
183
- "eslint-plugin-format": "^1.0.1",
184
- "husky": "^9.1.7",
185
- "less": "^4.5.1",
186
- "lint-staged": "^15.2.10",
187
- "miniprogram-api-typings": "^4.1.0",
188
- "openapi-ts-request": "^1.10.0",
189
- "postcss": "^8.4.49",
190
- "postcss-html": "^1.8.0",
191
- "postcss-scss": "^4.0.9",
192
- "rollup-plugin-visualizer": "^6.0.3",
193
- "sass": "1.77.8",
194
- "std-env": "^3.9.0",
195
- "typescript": "~5.8.0",
196
- "unocss": "66.0.0",
197
- "unplugin-auto-import": "^20.0.0",
198
- "vite": "5.2.8",
199
- "vite-plugin-dts": "^3.9.1",
200
- "vite-plugin-restart": "^1.0.0",
201
- "vue-tsc": "^3.0.6"
202
- },
203
- "pnpm": {
204
- "overrides": {
205
- "unconfig": "7.3.2"
206
- }
207
- },
208
- "overrides": {
209
- "unconfig": "7.3.2"
210
- },
211
- "resolutions": {
212
- "bin-wrapper": "npm:bin-wrapper-china",
213
- "unconfig": "7.3.2"
214
- },
215
- "lint-staged": {
216
- "*": "eslint --fix"
217
- }
218
- }
1
+ {
2
+ "name": "uniapp-dyckui",
3
+ "type": "module",
4
+ "version": "4.1.2",
5
+ "unibest-version": "4.1.1",
6
+ "unibest-update-time": "2025-12-04",
7
+ "description": "uniapp-dyckui - 基于 uni-app 的优质组件库",
8
+ "generate-time": "用户创建项目时生成",
9
+ "author": {
10
+ "name": "feige996",
11
+ "zhName": "菲鸽",
12
+ "email": "1020103647@qq.com",
13
+ "github": "https://github.com/feige996",
14
+ "gitee": "https://gitee.com/feige996"
15
+ },
16
+ "license": "MIT",
17
+ "homepage": "https://unibest.tech",
18
+ "repository": "https://github.com/feige996/unibest",
19
+ "bugs": {
20
+ "url": "https://github.com/feige996/unibest/issues",
21
+ "url-old": "https://github.com/codercup/unibest/issues"
22
+ },
23
+ "exports": {
24
+ ".": {
25
+ "types": "./dist/index.d.ts",
26
+ "import": "./dist/index.mjs",
27
+ "require": "./dist/index.cjs"
28
+ },
29
+ "./components/*": {
30
+ "types": "./dist/components/*.d.ts",
31
+ "import": "./dist/components/*.mjs",
32
+ "require": "./dist/components/*.cjs"
33
+ },
34
+ "./package.json": "./package.json"
35
+ },
36
+ "main": "dist/index.cjs",
37
+ "module": "dist/index.mjs",
38
+ "types": "dist/index.d.ts",
39
+ "files": [
40
+ "LICENSE",
41
+ "README.md",
42
+ "dist",
43
+ "src/components/MyComs"
44
+ ],
45
+ "engines": {
46
+ "node": ">=20",
47
+ "pnpm": ">=9"
48
+ },
49
+ "dependencies": {
50
+ "@alova/adapter-uniapp": "^2.0.14",
51
+ "@alova/shared": "^1.3.1",
52
+ "@dcloudio/uni-app": "3.0.0-4070620250821001",
53
+ "@dcloudio/uni-app-harmony": "3.0.0-4070620250821001",
54
+ "@dcloudio/uni-app-plus": "3.0.0-4070620250821001",
55
+ "@dcloudio/uni-components": "3.0.0-4070620250821001",
56
+ "@dcloudio/uni-h5": "3.0.0-4070620250821001",
57
+ "@dcloudio/uni-mp-alipay": "3.0.0-4070620250821001",
58
+ "@dcloudio/uni-mp-baidu": "3.0.0-4070620250821001",
59
+ "@dcloudio/uni-mp-harmony": "3.0.0-4070620250821001",
60
+ "@dcloudio/uni-mp-jd": "3.0.0-4070620250821001",
61
+ "@dcloudio/uni-mp-kuaishou": "3.0.0-4070620250821001",
62
+ "@dcloudio/uni-mp-lark": "3.0.0-4070620250821001",
63
+ "@dcloudio/uni-mp-qq": "3.0.0-4070620250821001",
64
+ "@dcloudio/uni-mp-toutiao": "3.0.0-4070620250821001",
65
+ "@dcloudio/uni-mp-weixin": "3.0.0-4070620250821001",
66
+ "@dcloudio/uni-mp-xhs": "3.0.0-4070620250821001",
67
+ "@dcloudio/uni-quickapp-webview": "3.0.0-4070620250821001",
68
+ "abortcontroller-polyfill": "^1.7.8",
69
+ "alova": "^3.3.3",
70
+ "dayjs": "1.11.10",
71
+ "pinia": "2.0.36",
72
+ "pinia-plugin-persistedstate": "3.2.1",
73
+ "vue": "^3.4.21",
74
+ "vue-i18n": "9.1.9",
75
+ "vue-router": "4.5.1",
76
+ "z-paging": "2.8.7"
77
+ },
78
+ "devDependencies": {
79
+ "@commitlint/cli": "^19.8.1",
80
+ "@commitlint/config-conventional": "^19.8.1",
81
+ "@dcloudio/types": "^3.4.8",
82
+ "@dcloudio/uni-automator": "3.0.0-4070620250821001",
83
+ "@dcloudio/uni-cli-shared": "3.0.0-4070620250821001",
84
+ "@dcloudio/uni-stacktracey": "3.0.0-4070620250821001",
85
+ "@dcloudio/vite-plugin-uni": "3.0.0-4070620250821001",
86
+ "@esbuild/darwin-arm64": "0.20.2",
87
+ "@esbuild/darwin-x64": "0.20.2",
88
+ "@iconify-json/carbon": "^1.2.4",
89
+ "@iconify/utils": "^3.0.2",
90
+ "@rollup/rollup-darwin-x64": "^4.28.0",
91
+ "@types/node": "^20.17.9",
92
+ "@uni-helper/eslint-config": "0.5.0",
93
+ "@uni-helper/plugin-uni": "0.1.0",
94
+ "@uni-helper/uni-env": "0.1.8",
95
+ "@uni-helper/uni-types": "1.0.0-alpha.6",
96
+ "@uni-helper/unocss-preset-uni": "0.2.11",
97
+ "@uni-helper/vite-plugin-uni-components": "0.2.3",
98
+ "@uni-helper/vite-plugin-uni-layouts": "0.1.11",
99
+ "@uni-helper/vite-plugin-uni-manifest": "0.2.11",
100
+ "@uni-helper/vite-plugin-uni-pages": "0.3.19",
101
+ "@uni-helper/vite-plugin-uni-platform": "0.0.5",
102
+ "@uni-ku/bundle-optimizer": "v1.3.15-beta.2",
103
+ "@uni-ku/root": "1.4.1",
104
+ "@unocss/eslint-plugin": "^66.2.3",
105
+ "@unocss/preset-legacy-compat": "66.0.0",
106
+ "@vue/runtime-core": "^3.4.21",
107
+ "@vue/tsconfig": "^0.1.3",
108
+ "autoprefixer": "^10.4.20",
109
+ "cross-env": "^10.0.0",
110
+ "eslint": "^9.31.0",
111
+ "eslint-plugin-format": "^1.0.1",
112
+ "husky": "^9.1.7",
113
+ "less": "^4.5.1",
114
+ "lint-staged": "^15.2.10",
115
+ "miniprogram-api-typings": "^4.1.0",
116
+ "openapi-ts-request": "^1.10.0",
117
+ "postcss": "^8.4.49",
118
+ "postcss-html": "^1.8.0",
119
+ "postcss-scss": "^4.0.9",
120
+ "rollup-plugin-visualizer": "^6.0.3",
121
+ "sass": "1.77.8",
122
+ "std-env": "^3.9.0",
123
+ "typescript": "~5.8.0",
124
+ "unocss": "66.0.0",
125
+ "unplugin-auto-import": "^20.0.0",
126
+ "vite": "5.2.8",
127
+ "vite-plugin-dts": "^3.9.1",
128
+ "vite-plugin-restart": "^1.0.0",
129
+ "vue-tsc": "^3.0.6"
130
+ },
131
+ "overrides": {
132
+ "unconfig": "7.3.2"
133
+ },
134
+ "resolutions": {
135
+ "bin-wrapper": "npm:bin-wrapper-china",
136
+ "unconfig": "7.3.2"
137
+ },
138
+ "lint-staged": {
139
+ "*": "eslint --fix"
140
+ },
141
+ "scripts": {
142
+ "build:lib": "vite build -c vite.config.library.ts",
143
+ "preinstall": "npx only-allow pnpm",
144
+ "uvm": "npx @dcloudio/uvm@latest",
145
+ "uvm-rm": "node ./scripts/postupgrade.js",
146
+ "postuvm": "echo upgrade uni-app success!",
147
+ "dev:app": "uni -p app",
148
+ "dev:app:test": "uni -p app --mode test",
149
+ "dev:app:prod": "uni -p app --mode production",
150
+ "dev:app-android": "uni -p app-android",
151
+ "dev:app-ios": "uni -p app-ios",
152
+ "dev:custom": "uni -p",
153
+ "predev": "pnpm init-baseFiles",
154
+ "dev": "uni",
155
+ "dev:test": "uni --mode test",
156
+ "dev:prod": "uni --mode production",
157
+ "dev:h5": "uni",
158
+ "dev:h5:test": "uni --mode test",
159
+ "dev:h5:prod": "uni --mode production",
160
+ "dev:h5:ssr": "uni --ssr",
161
+ "dev:mp": "uni -p mp-weixin",
162
+ "dev:mp:test": "uni -p mp-weixin --mode test",
163
+ "dev:mp:prod": "uni -p mp-weixin --mode production",
164
+ "dev:mp-alipay": "uni -p mp-alipay",
165
+ "dev:mp-baidu": "uni -p mp-baidu",
166
+ "dev:mp-jd": "uni -p mp-jd",
167
+ "dev:mp-kuaishou": "uni -p mp-kuaishou",
168
+ "dev:mp-lark": "uni -p mp-lark",
169
+ "dev:mp-qq": "uni -p mp-qq",
170
+ "dev:mp-toutiao": "uni -p mp-toutiao",
171
+ "dev:mp-weixin": "uni -p mp-weixin",
172
+ "dev:mp-xhs": "uni -p mp-xhs",
173
+ "dev:quickapp-webview": "uni -p quickapp-webview",
174
+ "dev:quickapp-webview-huawei": "uni -p quickapp-webview-huawei",
175
+ "dev:quickapp-webview-union": "uni -p quickapp-webview-union",
176
+ "build:app": "uni build -p app",
177
+ "build:app:test": "uni build -p app --mode test",
178
+ "build:app:prod": "uni build -p app --mode production",
179
+ "build:app-android": "uni build -p app-android",
180
+ "build:app-ios": "uni build -p app-ios",
181
+ "build:custom": "uni build -p",
182
+ "build:h5": "uni build",
183
+ "build:h5:test": "uni build --mode test",
184
+ "build:h5:prod": "uni build --mode production",
185
+ "build": "uni build",
186
+ "build:test": "uni build --mode test",
187
+ "build:prod": "uni build --mode production",
188
+ "build:h5:ssr": "uni build --ssr",
189
+ "build:mp-alipay": "uni build -p mp-alipay",
190
+ "build:mp": "uni build -p mp-weixin",
191
+ "build:mp:test": "uni build -p mp-weixin --mode test",
192
+ "build:mp:prod": "uni build -p mp-weixin --mode production",
193
+ "build:mp-baidu": "uni build -p mp-baidu",
194
+ "build:mp-jd": "uni build -p mp-jd",
195
+ "build:mp-kuaishou": "uni build -p mp-kuaishou",
196
+ "build:mp-lark": "uni build -p mp-lark",
197
+ "build:mp-qq": "uni build -p mp-qq",
198
+ "build:mp-toutiao": "uni build -p mp-toutiao",
199
+ "build:mp-weixin": "uni build -p mp-weixin",
200
+ "build:mp-xhs": "uni build -p mp-xhs",
201
+ "build:quickapp-webview": "uni build -p quickapp-webview",
202
+ "build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei",
203
+ "build:quickapp-webview-union": "uni build -p quickapp-webview-union",
204
+ "type-check": "vue-tsc --noEmit",
205
+ "openapi": "openapi-ts",
206
+ "init-husky": "git init && husky",
207
+ "init-baseFiles": "node ./scripts/create-base-files.js",
208
+ "init-json": "pnpm init-baseFiles",
209
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
210
+ }
211
+ }