forked from Tencent/tdesign-vue-next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
197 lines (197 loc) · 6.43 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
{
"name": "tdesign-vue-next",
"purename": "tdesign",
"version": "0.20.2",
"title": "tdesign-vue-next",
"description": "TDesign Component for vue-next",
"keywords": [
"vue",
"vue3",
"vue-next",
"tdesign",
"typescript"
],
"main": "lib/index-lib.js",
"module": "es/index.mjs",
"typings": "es/index.d.ts",
"unpkg": "dist/tdesign.min.js",
"jsdelivr": "dist/tdesign.min.js",
"files": [
"esm",
"es",
"es/index.d.ts",
"cjs",
"lib",
"dist",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"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 --debug",
"site:prerender": "node script/prerender.mjs",
"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",
"prebuild": "rimraf es/* esm/* lib/* dist/*",
"build": "cross-env NODE_ENV=production rollup -c script/rollup.config.js && npm run build:tsc && npm run build:nuxt-es",
"build:nuxt-es": "node script/build-nuxt.js",
"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/",
"lint:fix": "eslint --ext .vue,.js,.ts,.tsx ./src --max-warnings 0 --fix",
"lint": "npm run lint:tsc && eslint --ext .vue,.js,.ts,.tsx ./src --max-warnings 0",
"lint:tsc": "tsc --emitDeclarationOnly",
"test": "npm run test:unit && npm run test:snap",
"test:unit": "vitest run --config site/vite.config.js",
"test:update": "vitest run --config site/vite.config.js -u && npm run test:snap-update",
"test:unit-dev": "vitest --config site/vite.config.js",
"test:unit-gui": "vitest --config site/vite.config.js --ui",
"test:unit-coverage": "vitest run --config site/vite.config.js --coverage",
"test:snap": "cross-env NODE_ENV=test-snap vitest run --config site/vite.config.js",
"test:snap-update": "cross-env NODE_ENV=test-snap vitest run --config site/vite.config.js -u",
"test:e2e": "cypress run --config-file script/test/cypress.json",
"test:e2e-gui": "cypress open --config-file script/test/cypress.json",
"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.9.3",
"@types/lodash": "^4.14.175",
"@types/sortablejs": "^1.10.7",
"@types/tinycolor2": "^1.4.3",
"@types/validator": "^13.6.3",
"dayjs": "^1.9.7",
"lodash": "^4.17.15",
"sortablejs": "^1.15.0",
"tdesign-icons-vue-next": "^0.1.5",
"tinycolor2": "^1.4.2",
"validator": "^13.5.1"
},
"peerDependencies": {
"vue": ">=3.1.0"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.17.5",
"@babel/plugin-transform-modules-commonjs": "^7.9.6",
"@babel/plugin-transform-object-assign": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.5.5",
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^15.0.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-url": "^7.0.0",
"@types/babel__traverse": "^7.17.1",
"@types/raf": "^3.4.0",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"@vitejs/plugin-vue": "^2.3.1",
"@vitejs/plugin-vue-jsx": "^1.3.3",
"@vitest/ui": "^0.14.1",
"@vue/compiler-sfc": "^3.2.26",
"@vue/eslint-config-typescript": "^10.0.0",
"@vue/server-renderer": "^3.2.4",
"@vue/test-utils": "^2.0.0-rc.21",
"autoprefixer": "^10.4.0",
"babel-eslint": "^10.1.0",
"c8": "^7.11.2",
"camelcase": "^7.0.0",
"cli-color": "^2.0.1",
"clipboard": "^2.0.6",
"cross-env": "^7.0.2",
"cypress": "^9.1.1",
"cz-git": "^1.3.8",
"czg": "^1.3.8",
"esbuild": "^0.14.11",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.2.0",
"glob": "^7.2.0",
"gray-matter": "^4.0.3",
"husky": "^7.0.4",
"ignore": "^5.1.9",
"jsdom": "^19.0.0",
"less": "^4.1.2",
"lint-staged": "^13.0.1",
"mockdate": "^3.0.5",
"npm-run-all": "^4.1.5",
"playwright": "^1.19.1",
"postcss": "^8.3.8",
"prettier": "^2.4.1",
"prismjs": "^1.25.0",
"raf": "^3.4.1",
"rimraf": "^3.0.2",
"rollup": "^2.55.0",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-esbuild": "^4.5.0",
"rollup-plugin-ignore-import": "^1.3.2",
"rollup-plugin-multi-input": "^1.1.1",
"rollup-plugin-postcss": "^4.0.0",
"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",
"tdesign-icons-view": "^0.1.5",
"tdesign-publish-cli": "^0.0.12",
"tdesign-site-components": "^0.11.1",
"tdesign-theme-generator": "^0.3.0",
"typescript": "^4.5.4",
"vite": "^2.9.5",
"vite-plugin-pwa": "^0.12.0",
"vite-plugin-tdoc": "^2.0.2",
"vitest": "^0.14.1",
"vitest-fetch-mock": "^0.1.0",
"vue": "^3.2.37",
"vue-router": "^4.0.12",
"workbox-precaching": "^6.4.1"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-git"
}
},
"lint-staged": {
"*.{vue,js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
]
}
}