forked from Tencent/tdesign-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·191 lines (191 loc) · 6.32 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
{
"name": "tdesign-vue",
"purename": "tdesign",
"version": "0.32.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",
"lib",
"dist",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"sideEffects": [
"*.vue",
"dist/*",
"site/*",
"examples/*",
"es/**/style/**",
"esm/**/style/**"
],
"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:preview": "cd site && npm run build:preview",
"prebuild": "rimraf es/* esm/* lib/* dist/*",
"build": "cross-env NODE_ENV=production rollup -c script/rollup.config.js && npm run build:tsc",
"build:tsc": "concurrently \"npm: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/",
"postbuild": "node script/postbuild.js",
"lint:fix": "eslint --ext .vue,.js,.ts,.tsx ./ --max-warnings 0 --fix",
"lint": "eslint --ext .vue,.js,.ts,.tsx ./ --max-warnings 0",
"test": "npm run test:unit && npm run test:node",
"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",
"@vue/composition-api": "^1.4.1",
"clipboard": "^2.0.8",
"css-element-queries": "^1.2.3",
"dayjs": "^1.9.7",
"lodash": "^4.17.21",
"raf": "^3.4.1",
"tdesign-icons-vue": "0.0.6",
"validator": "^13.5.1"
},
"peerDependencies": {
"vue": "^2.6.10"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.10.5",
"@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": "~15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@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/clipboard": "^2.0.1",
"@types/estree": "0.0.50",
"@types/lodash": "^4.14.165",
"@types/raf": "^3.4.0",
"@types/validator": "^13.1.3",
"@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.1.3",
"autoprefixer": "^9.7.6",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^26.0.0",
"babel-polyfill": "^6.26.0",
"camelcase": "~6.2.1",
"cli-color": "^2.0.0",
"commitizen": "^4.0.3",
"concurrently": "^6.4.0",
"cross-env": "^7.0.2",
"cypress": "~9.1.1",
"cz-conventional-changelog": "^3.0.2",
"dom-parser": "^0.1.6",
"esbuild": "^0.12.15",
"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": "^8.1.0",
"glob": "^7.2.0",
"gray-matter": "^4.0.3",
"husky": "^7.0.4",
"hyphenate": "^0.2.4",
"jest": "^26.0.0",
"jest-html-reporter": "^3.1.3",
"jest-serializer-vue": "^2.0.2",
"jest-transform-stub": "^2.0.0",
"jest-watch-typeahead": "^0.6.0",
"less": "^4.1.2",
"lint-staged": "^10.5.4",
"mockdate": "^3.0.2",
"postcss": "^8.3.11",
"prismjs": "^1.25.0",
"rimraf": "^3.0.2",
"rollup": "^2.53.2",
"rollup-plugin-analyzer": "^3.3.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.1",
"rollup-plugin-static-import": "^0.1.1",
"rollup-plugin-styles": "^3.14.1",
"rollup-plugin-terser": "~7.0.2",
"rollup-plugin-vue": "^5.1.9",
"tdesign-icons-view": "0.0.1",
"tdesign-publish-cli": "^0.0.8",
"tdesign-site-components": "^0.5.28",
"ts-jest": "^26.0.0",
"typescript": "^4.4.4",
"vite": "^2.7.6",
"vite-plugin-tdoc": "^2.0.2",
"vite-plugin-vue2": "^1.9.0",
"vite-plugin-pwa": "^0.11.11",
"workbox-precaching": "^6.3.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"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{vue,js,jsx,ts,tsx}": [
"prettier --write",
"npm run lint:fix"
]
}
}