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.
- package/README.md +154 -104
- package/package.json +211 -218
package/README.md
CHANGED
|
@@ -1,104 +1,154 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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.
|
|
5
|
-
"unibest-version": "4.1.1",
|
|
6
|
-
"unibest-update-time": "2025-12-04",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
"url": "https://github.com/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
"
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
"
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
"
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
-
"
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
"
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
192
|
-
"
|
|
193
|
-
"
|
|
194
|
-
"
|
|
195
|
-
"
|
|
196
|
-
"
|
|
197
|
-
"
|
|
198
|
-
"
|
|
199
|
-
"
|
|
200
|
-
"
|
|
201
|
-
"
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
"
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
"
|
|
210
|
-
}
|
|
211
|
-
|
|
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
|
+
}
|