-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
package.json
188 lines (188 loc) · 5.77 KB
/
package.json
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
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
{
"name": "antd-mobile",
"version": "5.38.1",
"homepage": "https://github.com/ant-design/ant-design-mobile#readme",
"bugs": {
"url": "https://github.com/ant-design/ant-design-mobile/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ant-design/ant-design-mobile.git",
"branch": "master",
"platform": "github"
},
"license": "MIT",
"sideEffects": [
"**/*.css",
"**/*.less",
"./es/index.js",
"./src/index.ts",
"./es/global/index.js",
"./src/global/index.ts"
],
"main": "./cjs/index.js",
"unpkg": "./umd/antd-mobile.js",
"module": "./es/index.js",
"types": "./es/index.d.ts",
"typings": "./es/index.d.ts",
"files": [
"./lib"
],
"scripts": {
"build": "gulp",
"build-doc": "dumi build && echo '!.*' > dist/.surgeignore",
"postinstall": "husky install",
"lint": "eslint . && stylelint \"**/*.{css,less,scss}\"",
"lint:fix": "prettier --write . && eslint --fix . && stylelint --fix \"**/*.{css,less,scss}\"",
"package-diff": "antd-tools run package-diff --path=./lib",
"prepare": "husky install",
"pub": "npm run package-diff && npm publish ./lib",
"pub:alpha": "npm publish ./lib --tag alpha",
"pub:dev": "npm publish ./lib --tag dev",
"size-limit": "size-limit",
"size-limit:ci": "size-limit --json",
"start": "dumi dev",
"test": "jest",
"test-with-coverage": "jest --coverage"
},
"lint-staged": {
"*.{cjs,cts,js,jsx,mjs,mts,ts,tsx,vue}": "eslint --fix",
"*.{cjs,css,cts,html,js,json,jsx,less,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}": "prettier --write",
"*.{css,less,scss}": "stylelint --fix"
},
"resolutions": {
"@types/react": "18",
"@types/react-dom": "18"
},
"dependencies": {
"@floating-ui/dom": "^1.4.2",
"@rc-component/mini-decimal": "^1.1.0",
"@react-spring/web": "~9.6.1",
"@use-gesture/react": "10.3.0",
"ahooks": "^3.7.6",
"antd-mobile-icons": "^0.3.0",
"antd-mobile-v5-count": "^1.0.1",
"classnames": "^2.3.2",
"dayjs": "^1.11.7",
"deepmerge": "^4.3.1",
"nano-memoize": "^3.0.16",
"rc-field-form": "^1.34.2",
"rc-segmented": "~2.4.1",
"rc-util": "^5.38.1",
"react-fast-compare": "^3.2.2",
"react-is": "^18.2.0",
"runes2": "^1.1.2",
"staged-components": "^1.1.3",
"tslib": "^2.5.0",
"use-sync-external-store": "^1.2.0"
},
"devDependencies": {
"@ant-design/icons": "^4.8.0",
"@ant-design/tools": "^16.0.0-alpha.3",
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.4",
"@babel/plugin-transform-modules-commonjs": "^7.21.2",
"@babel/preset-env": "^7.21.4",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.4",
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^17.6.1",
"@docsearch/react": "^3.3.3",
"@jest/types": "^28.1.3",
"@react-spring/core": "~9.6.1",
"@size-limit/preset-big-lib": "^11.1.0",
"@statoscope/webpack-plugin": "^5.26.2",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "14.2.1",
"@types/big.js": "^6.1.6",
"@types/jest": "^28.1.8",
"@types/jest-axe": "3.5.4",
"@types/lodash": "^4.14.194",
"@types/node": "^18.15.13",
"@types/react": "^18.0.38",
"@types/react-beautiful-dnd": "^13.1.4",
"@types/react-dom": "^18.0.11",
"@types/react-helmet": "^6.1.6",
"@types/react-is": "^17.0.3",
"@types/react-virtualized": "^9.21.21",
"@types/resize-observer-browser": "^0.1.7",
"@types/testing-library__jest-dom": "^5.14.5",
"@types/use-sync-external-store": "^0.0.3",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"@umijs/types": "^3.5.40",
"@use-gesture/core": "10.2.20",
"autoprefixer": "^9.8.8",
"babel-loader": "^8.3.0",
"css-loader": "^6.7.3",
"csstype": "^3.1.2",
"del": "^6.1.1",
"dumi": "^1.1.50",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-less": "^5.0.0",
"gulp-postcss": "^9.0.1",
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.1.4",
"gulp-typescript": "^6.0.0-alpha.1",
"husky": "^8.0.3",
"jest": "^28.1.3",
"jest-axe": "^6.0.1",
"jest-canvas-mock": "^2.5.0",
"jest-environment-jsdom": "^28.1.3",
"jest-watch-typeahead": "^1.1.0",
"less": "^4.1.3",
"lint-staged": "^15.2.2",
"lodash": "^4.17.21",
"lorem-ipsum": "^2.0.8",
"lz-string": "^1.5.0",
"mockdate": "^3.0.5",
"postcss": "^8.4.23",
"postcss-px-multiple": "^0.1.5",
"postcss-pxtorem": "^6.0.0",
"prettier": "^3.1.1",
"prism-react-renderer": "^1.3.5",
"prismjs": "^1.29.0",
"qrcode.react": "^3.1.0",
"react": "^18.2.0",
"react-beautiful-dnd": "^13.1.1",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
"react-lottie": "^1.2.3",
"react-test-renderer": "^18.2.0",
"react-virtualized": "^9.22.5",
"size-limit": "^11.1.0",
"style-loader": "^3.3.2",
"stylelint": "^16.3.1",
"stylelint-config-ali": "^2.1.0",
"stylelint-prettier": "^5.0.0",
"through2": "^4.0.2",
"ts-jest": "^28.0.8",
"ts-node": "^10.9.1",
"typescript": "~4.6.4",
"vite": "^5.0.10",
"webpack": "^5.80.0",
"webpack-bundle-analyzer": "^4.8.0",
"webpack-stream": "^7.0.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"GravityCDN": "./umd/antd-mobile.js",
"size-limit": [
{
"path": "./lib/bundle/antd-mobile.es.js",
"limit": "200 kB"
}
]
}