forked from Tencent/tdesign-vue-next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
209 lines (209 loc) · 6.87 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
{
"name": "tdesign-vue-next",
"purename": "tdesign",
"version": "1.9.4",
"title": "tdesign-vue-next",
"description": "TDesign Component for vue-next",
"keywords": [
"vue",
"vue3",
"vue-next",
"tdesign",
"typescript"
],
"main": "cjs/index-lib.js",
"module": "es/index.mjs",
"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",
"global.d.ts",
"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-next.git"
},
"homepage": "https://github.com/Tencent/tdesign-vue-next/blob/develop/README.md",
"bugs": {
"url": "https://github.com/Tencent/tdesign-vue-next/issues"
},
"scripts": {
"init": "git submodule init && git submodule update",
"start": "npm run init && npm run dev",
"dev": "cd site && vite",
"site": "cd site && vite build",
"site:intranet": "cd site && vite build --mode intranet",
"site:preview": "cd site && vite build --mode preview",
"postsite:preview": "cp _site/index.html _site/404.html",
"generate:usage": "node script/generate-usage/index.js",
"generate:component": "node script/init/index.js",
"generate:coverage-badge": "npm run test:unit-coverage && node script/test/generate-coverage.js",
"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 --ext .vue,.js,.ts,.tsx ./src --max-warnings 0 --fix --cache",
"lint": "npm run lint:tsc && eslint --ext .vue,.js,.ts,.tsx ./src --max-warnings 0 --cache",
"lint:tsc": "tsc --emitDeclarationOnly",
"test": "npm run test:unit && npm run test:snap",
"test:unit": "vitest run --config test/unit/vitest.config.js",
"test:update": "vitest run --config test/unit/vitest.config.js -u && npm run test:snap-update",
"test:unit-dev": "vitest --config test/unit/vitest.config.js",
"test:unit-gui": "vitest --config test/unit/vitest.config.js --ui",
"test:unit-coverage": "vitest run --config test/unit/vitest.config.js --coverage",
"test:snap": "cross-env NODE_ENV=test-snap vitest run --config test/unit/vitest.config.js",
"test:snap-update": "cross-env NODE_ENV=test-snap vitest run --config test/unit/vitest.config.js -u",
"test:e2e": "cypress run --config-file test/cypress/cypress.config.js --component",
"test:e2e-gui": "cypress open --config-file test/cypress/cypress.config.js",
"robot": "publish-cli robot-msg",
"prepare": "husky install"
},
"author": "tdesign",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.22.6",
"@popperjs/core": "^2.11.8",
"@types/lodash": "4.14.182",
"@types/sortablejs": "^1.15.1",
"@types/tinycolor2": "^1.4.3",
"@types/validator": "^13.7.17",
"dayjs": "1.11.10",
"lodash": "^4.17.21",
"mitt": "^3.0.1",
"sortablejs": "^1.15.0",
"tdesign-icons-vue-next": "^0.2.0",
"tinycolor2": "^1.6.0",
"validator": "^13.9.0"
},
"peerDependencies": {
"vue": ">=3.1.0"
},
"devDependencies": {
"@babel/cli": "^7.22.9",
"@babel/core": "^7.22.9",
"@babel/helper-module-imports": "7.22.5",
"@babel/plugin-transform-modules-commonjs": "^7.22.5",
"@babel/plugin-transform-object-assign": "^7.22.5",
"@babel/plugin-transform-runtime": "^7.22.9",
"@babel/preset-env": "^7.22.9",
"@commitlint/cli": "^16.3.0",
"@commitlint/config-conventional": "^15.0.0",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^21.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-url": "^7.0.0",
"@testing-library/dom": "^8.20.1",
"@types/babel__traverse": "~7.18.5",
"@types/node": "18.8.0",
"@types/raf": "^3.4.0",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@vitejs/plugin-vue": "^2.3.4",
"@vitejs/plugin-vue-jsx": "^1.3.10",
"@vitest/ui": "^0.14.2",
"@vue/babel-plugin-jsx": "1.2.2",
"@vue/compiler-sfc": "^3.3.4",
"@vue/eslint-config-typescript": "^10.0.0",
"@vue/test-utils": "^2.4.1",
"autoprefixer": "^10.4.14",
"babel-eslint": "^10.1.0",
"c8": "^7.14.0",
"camelcase": "~6.3.0",
"cli-color": "^2.0.3",
"clipboard": "^2.0.11",
"codesandbox": "^2.2.3",
"cross-env": "^7.0.3",
"cypress": "^12.17.2",
"cz-git": "^1.7.0",
"czg": "^1.7.0",
"dom-parser": "^0.1.6",
"esbuild": "^0.14.54",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^8.7.1",
"glob": "^7.2.3",
"gray-matter": "^4.0.3",
"husky": "^7.0.4",
"ignore": "^5.2.4",
"jsdom": "^19.0.0",
"less": "^4.1.3",
"lint-staged": "^13.2.3",
"mockdate": "^3.0.5",
"msw": "^1.2.3",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.26",
"prettier": "2.8.1",
"prismjs": "^1.29.0",
"raf": "^3.4.1",
"rimraf": "^5.0.1",
"rollup": "^2.79.1",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-esbuild": "^4.10.3",
"rollup-plugin-ignore-import": "^1.3.2",
"rollup-plugin-multi-input": "^1.4.1",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-static-import": "^0.1.1",
"rollup-plugin-styles": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-vue": "^6.0.0",
"semver": "^7.5.4",
"tdesign-icons-view": "^0.2.0",
"tdesign-publish-cli": "^0.0.12",
"tdesign-site-components": "^0.14.0",
"tdesign-theme-generator": "^1.0.11",
"typescript": "~4.8.4",
"vite": "^2.9.16",
"vite-plugin-pwa": "^0.12.8",
"vite-plugin-tdoc": "^2.0.4",
"vitest": "^0.14.2",
"vitest-fetch-mock": "^0.1.0",
"vue": "3.3.9",
"vue-router": "^4.2.4",
"workbox-precaching": "^6.6.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-git"
}
},
"lint-staged": {
"*.{vue,js,jsx,ts,tsx}": [
"prettier --write --cache",
"eslint --fix --cache"
]
},
"vetur": {
"tags": "helper/tags.json",
"attributes": "helper/attributes.json"
},
"web-types": "helper/web-types.json"
}