forked from Tencent/tdesign-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
216 lines (216 loc) · 6.99 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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
{
"name": "tdesign-vue",
"purename": "tdesign",
"version": "1.10.5",
"description": "tdesign-vue",
"title": "tdesign-vue",
"keywords": [
"vue",
"tdesign"
],
"main": "cjs/index-lib.js",
"module": "es/index.js",
"typings": "es/index.d.ts",
"unpkg": "dist/tdesign.min.js",
"jsdelivr": "dist/tdesign.min.js",
"files": [
"es",
"esm",
"cjs",
"lib",
"dist",
"LICENSE",
"README.md",
"CHANGELOG.md",
"helper"
],
"sideEffects": [
"*.vue",
"dist/*",
"site/*",
"examples/*",
"es/**/style/**",
"esm/**/style/**"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Tencent/tdesign-vue.git"
},
"homepage": "https://github.com/Tencent/tdesign-vue/blob/develop/README.md",
"bugs": {
"url": "https://github.com/Tencent/tdesign-vue/issues"
},
"scripts": {
"update:coverage-badge": "node script/test/generate-coverage.js",
"start": "cd site && npm run dev",
"dev": "cd site && npm run dev",
"site": "cd site && npm run build",
"site:prerender": "node script/prerender.mjs",
"site:preview": "cd site && npm run build:preview",
"site:intranet": "cd site && npm run build:intranet",
"postsite:preview": "cp _site/index.html _site/404.html",
"prebuild": "rimraf es/* esm/* lib/* cjs/* dist/* --glob",
"build": "cross-env NODE_ENV=production rollup -c script/rollup.config.js && npm run build:tsc",
"build:tsc": "run-p build:tsc-*",
"build:tsc-es": "tsc --emitDeclarationOnly -d --outDir es/",
"build:tsc-esm": "tsc --emitDeclarationOnly -d --outDir esm/",
"build:tsc-lib": " tsc --emitDeclarationOnly -d --outDir lib/",
"build:tsc-cjs": " tsc --emitDeclarationOnly -d --outDir cjs/",
"lint:fix": "eslint --fix",
"lint": "npm run lint:tsc && eslint --ext .vue,.js,.ts,.tsx ./ --max-warnings 0",
"lint:tsc": "tsc --emitDeclarationOnly",
"generate:usage": "node script/generate-usage/index.js",
"generate:coverage-badge": "npm run test:coverage && node script/test/generate-coverage.js",
"test": "npm run test:unit && npm run test:snap",
"test:unit": "vitest run --config vitest.config.js",
"test:update": "vitest run -u && npm run test:snap-update",
"test:unit-dev": "vitest",
"test:unit-gui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"test:snap": "cross-env NODE_ENV=test-snap vitest run",
"test:snap-update": "cross-env NODE_ENV=test-snap vitest run -u",
"test:e2e": "cypress run --config-file script/test/cypress.json",
"test:e2e-gui": "cypress open --config-file script/test/cypress.json",
"test:build-files": "node script/test/build-files.js",
"init": "node script/init",
"changelog": "node script/generate-changelog.js",
"robot": "publish-cli robot-msg",
"prepare": "husky install"
},
"author": "tdesign",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.14.8",
"@popperjs/core": "^2.4.0",
"@types/clipboard": "^2.0.1",
"@types/lodash": "4.14.182",
"@types/raf": "^3.4.0",
"@types/sortablejs": "^1.10.7",
"@types/tinycolor2": "^1.4.3",
"@types/validator": "^13.1.3",
"@vue/composition-api": "^1.4.1",
"clipboard": "^2.0.8",
"dayjs": "1.11.10",
"lodash": "^4.17.21",
"mitt": "^3.0.0",
"raf": "^3.4.1",
"sortablejs": "^1.15.0",
"tdesign-icons-vue": "^0.3.2",
"tinycolor2": "^1.4.2",
"validator": "^13.5.1"
},
"peerDependencies": {
"vue": "~2.6.10"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "~7.22.5",
"@babel/helper-module-imports": "7.24.7",
"@babel/eslint-parser": "~7.23.10",
"@babel/plugin-transform-class-properties": "^7.22.3",
"@babel/plugin-transform-modules-commonjs": "^7.9.6",
"@babel/plugin-transform-object-assign": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/preset-env": "^7.5.5",
"@commitlint/cli": "~17.6.6",
"@commitlint/config-conventional": "~17.6.5",
"@rollup/plugin-babel": "^5.1.0",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^2.4.2",
"@rollup/plugin-url": "^5.0.1",
"@testing-library/dom": "^10.2.0",
"@types/estree": "0.0.50",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/experimental-utils": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"@typescript-eslint/typescript-estree": "^6.16.0",
"@vitest/coverage-c8": "^0.28.3",
"@vitest/ui": "^0.24.3",
"@vue/babel-helper-vue-jsx-merge-props": "^1.2.1",
"@vue/babel-preset-jsx": "^1.2.4",
"@vue/eslint-config-typescript": "^9.1.0",
"@vue/test-utils": "^1.3.0",
"autoprefixer": "^10.4.19",
"babel-core": "^7.0.0-bridge.0",
"babel-polyfill": "^6.26.0",
"c8": "^7.12.0",
"camelcase": "~6.3.0",
"cli-color": "^2.0.0",
"commitizen": "^4.0.3",
"cross-env": "^7.0.2",
"cypress": "^13.12.0",
"cz-conventional-changelog": "^3.3.0",
"dom-parser": "^0.1.6",
"esbuild": "^0.14.9",
"eslint": "^7.1.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-vue": "^8.1.1",
"fs-extra": "^11.1.1",
"glob": "^8.0.3",
"gray-matter": "^4.0.3",
"husky": "^7.0.4",
"hyphenate": "^0.2.4",
"jsdom": "^25.0.0",
"less": "^4.1.2",
"lint-staged": "^13.2.2",
"mockdate": "^3.0.2",
"msw": "^1.0.0",
"npm-run-all": "^4.1.5",
"playwright": "^1.19.1",
"postcss": "^8.3.11",
"prettier": "^2.6.2",
"prismjs": "^1.25.0",
"rimraf": "^5.0.1",
"rollup": "^2.53.2",
"rollup-plugin-analyzer": "^3.3.0",
"rollup-plugin-esbuild": "^4.8.2",
"rollup-plugin-ignore-import": "^1.3.2",
"rollup-plugin-multi-input": "^1.1.1",
"rollup-plugin-postcss": "^4.0.1",
"rollup-plugin-static-import": "^0.1.1",
"rollup-plugin-styles": "^4.0.0",
"rollup-plugin-terser": "~7.0.2",
"rollup-plugin-vue": "^5.1.9",
"tdesign-icons-view": "^0.3.0",
"tdesign-publish-cli": "^0.0.12",
"tdesign-site-components": "^0.15.3",
"tdesign-theme-generator": "^1.0.0",
"typescript": "~4.5.4",
"unplugin-vue2-script-setup": "^0.10.2",
"vite": "^2.7.6",
"vite-plugin-pwa": "^0.11.11",
"vite-plugin-tdoc": "^2.0.2",
"vite-plugin-vue2": "^2.0.3",
"vitest": "^0.26.3",
"vitest-fetch-mock": "^0.2.1",
"vue": "~2.6.14",
"vue-class-component": "^7.2.3",
"vue-router": "^3.5.3",
"vue-server-renderer": "~2.6.14",
"vue-template-compiler": "~2.6.14",
"workbox-precaching": "^7.0.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{vue,js,jsx,ts,tsx}": [
"prettier --write",
"npm run lint:fix"
]
},
"vetur": {
"tags": "helper/tags.json",
"attributes": "helper/attributes.json"
},
"web-types": "helper/web-types.json"
}