forked from Tencent/tdesign-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
209 lines (209 loc) · 7.01 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",
"purename": "tdesign",
"version": "0.47.0",
"description": "tdesign-vue",
"title": "tdesign-vue",
"keywords": [
"vue",
"tdesign"
],
"main": "lib/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"
],
"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",
"cypress": "cypress run --config-file script/test/cypress.json",
"cypress-gui": "cypress open --config-file script/test/cypress.json",
"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/* dist/*",
"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",
"test": "npm run test:unit && npm run test:node",
"test:demo": "node src/_common/test/script/generate-demo-test.js",
"test:update": "npm run test:unit-update && npm run test:node-update",
"test:unit": "jest --config script/test/jest.unit.conf.js",
"test:unit-update": "jest --config script/test/jest.unit.conf.js --updateSnapshot",
"test:node": "jest --config script/test/jest.ssr.conf.js",
"test:node-update": "jest --config script/test/jest.ssr.conf.js --updateSnapshot",
"test:watch": "jest --config script/test/jest.unit.conf.js --watch",
"test:coverage": "jest --config script/test/jest.unit.conf.js --coverage",
"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.165",
"@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.9.7",
"lodash": "^4.17.21",
"raf": "^3.4.1",
"sortablejs": "^1.15.0",
"tdesign-icons-vue": "^0.1.4",
"tinycolor2": "^1.4.2",
"validator": "^13.5.1"
},
"peerDependencies": {
"vue": "~2.6.10"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "~7.16.0",
"@babel/plugin-proposal-class-properties": "^7.16.0",
"@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": "~16.2.3",
"@commitlint/config-conventional": "~16.2.1",
"@rollup/plugin-babel": "^5.1.0",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-replace": "^2.4.2",
"@rollup/plugin-url": "^5.0.1",
"@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": "^5.4.0",
"@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": "^9.7.6",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^27.4.5",
"babel-polyfill": "^6.26.0",
"camelcase": "~6.3.0",
"cli-color": "^2.0.0",
"commitizen": "^4.0.3",
"cross-env": "^7.0.2",
"cypress": "^9.5.3",
"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-import": "^2.23.4",
"eslint-plugin-vue": "^8.1.1",
"fs-extra": "^10.1.0",
"glob": "^8.0.3",
"gray-matter": "^4.0.3",
"husky": "^7.0.4",
"hyphenate": "^0.2.4",
"jest": "^27.4.5",
"jest-html-reporter": "^3.4.2",
"jest-serializer-vue": "^2.0.2",
"jest-transform-stub": "^2.0.0",
"jest-watch-typeahead": "^1.0.0",
"less": "^4.1.2",
"lint-staged": "^12.3.7",
"mockdate": "^3.0.2",
"npm-run-all": "^4.1.5",
"playwright": "^1.19.1",
"postcss": "^8.3.11",
"prettier": "^2.6.2",
"prismjs": "^1.25.0",
"rimraf": "^3.0.2",
"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.1.5",
"tdesign-publish-cli": "^0.0.12",
"tdesign-site-components": "^0.11.1",
"tdesign-theme-generator": "^0.4.0",
"ts-jest": "^27.1.2",
"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": "^1.9.0",
"vue": "~2.6.14",
"vue-class-component": "^7.2.3",
"vue-jest": "^3.0.5",
"vue-router": "^3.5.3",
"vue-server-renderer": "~2.6.14",
"vue-template-compiler": "~2.6.14",
"workbox-precaching": "^6.3.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{vue,js,jsx,ts,tsx}": [
"prettier --write",
"npm run lint:fix"
]
}
}