forked from Tencent/tdesign-mobile-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
185 lines (185 loc) · 6.48 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
{
"name": "tdesign-mobile-vue",
"purename": "tdesign",
"version": "0.10.5",
"description": "tdesign-mobile-vue",
"author": "TDesign Group",
"homepage": "https://tdesign.tencent.com/mobile-vue/",
"bugs": {
"url": "https://github.com/tencent/tdesign-mobile-vue/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/tencent/tdesign-mobile-vue"
},
"scripts": {
"start": "npm run dev",
"prepare": "husky install .husky",
"dev": "cd site && cross-env NODE_ENV=development vite",
"dev:debug": "cd site && cross-env NODE_ENV=development vite --debug",
"prebuild": "rimraf dist/* lib/* es/* esm/* typings/*",
"build": "npm run prebuild && cross-env NODE_ENV=production rollup -c scripts/rollup.config.js && npm run build:tsc",
"build:tsc": "concurrently \"npm:build:tsc-*\"",
"build:tsc-es": "vue-tsc --declaration --emitDeclarationOnly --outDir es/ -p tsconfig.build.json",
"build:tsc-esm": "vue-tsc --declaration --emitDeclarationOnly --outDir esm/ -p tsconfig.build.json",
"build:tsc-lib": "vue-tsc --declaration --emitDeclarationOnly --outDir lib/ -p tsconfig.build.json",
"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",
"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 scripts/test/cypress.json",
"test:e2e-gui": "cypress open --config-file scripts/test/cypress.json",
"test:demo": "node scripts/test/generate-demo-test.js",
"lint": "eslint --ext .vue,.ts,.tsx ./ --max-warnings 0 --ignore-path .gitignore --ignore-path .eslintignore",
"lint:fix": "npm run lint:fix-prettier && npm run lint:fix-eslint",
"lint:fix-eslint": "eslint --ext .vue,.ts,.tsx ./ --max-warnings 0 --ignore-path .gitignore --ignore-path .eslintignore --fix",
"lint:fix-prettier": "prettier ./ --ignore-path .gitignore --ignore-path .eslintignore --write './*.{vue,ts,tsx}' --ignore-unknown",
"lint:vue": "vue-tsc --noEmit -p tsconfig.build.json",
"update:coverage-badge": "node scripts/test/generate-coverage.js",
"changelog": "publish-cli changelog",
"robot": "publish-cli robot-msg",
"commit": "git-cz"
},
"engines": {
"node": ">=12.0.0"
},
"keywords": [
"vue",
"mobile",
"tdesign"
],
"title": "tdesign-mobile-vue",
"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",
"typings",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"sideEffects": [
"dist/*",
"site/**",
"es/**/style/**",
"esm/**/style/**"
],
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.16.5",
"@types/lodash": "^4.14.178",
"@vueuse/core": "^8.2.5",
"dayjs": "^1.10.7",
"lodash": "^4.17.21",
"tdesign-icons-vue-next": "^0.1.3"
},
"peerDependencies": {
"vue": "^3.2.6"
},
"devDependencies": {
"@babel/core": ">=7.13.0 <8.0.0",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.16.4",
"@babel/preset-env": "^7.12.11",
"@babel/preset-typescript": "^7.16.0",
"@babel/runtime": "^7.16.5",
"@commitlint/cli": "^12.0.1",
"@commitlint/config-conventional": "^12.0.1",
"@popperjs/core": "^2.6.0",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-eslint": "^8.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.1",
"@rollup/plugin-replace": "^2.3.4",
"@rollup/plugin-url": "^6.0.0",
"@soerenmartius/vue3-clipboard": "^0.1.1",
"@types/jest": "^28.1.6",
"@types/prismjs": "^1.16.2",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "~5.34.0",
"@vitejs/plugin-vue": "^1.2.3",
"@vitejs/plugin-vue-jsx": "^1.3.3",
"@vitest/ui": "^0.16.0",
"@vue/compiler-sfc": "^3.2.4",
"@vue/eslint-config-typescript": "^9.1.0",
"@vue/runtime-core": "^3.2.31",
"@vue/test-utils": "^2.0.0-rc.17",
"autoprefixer": "^10.2.4",
"axios": "^0.21.0",
"c8": "^7.11.3",
"commitizen": "^4.2.3",
"concurrently": "^6.5.1",
"cross-env": "^7.0.3",
"cypress": "^9.1.1",
"cz-conventional-changelog": "3.3.0",
"debug": "^4.3.1",
"dom-parser": "^0.1.6",
"esbuild": "^0.14.3",
"eslint": "^8.4.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.2.0",
"gray-matter": "^4.0.3",
"husky": "^6.0.0",
"jsdom": "^20.0.0",
"less": "^4.1.2",
"lint-staged": "^10.5.4",
"mockdate": "^3.0.5",
"postcss": "^8.2.1",
"prettier": "^2.5.1",
"prismjs": "^1.23.0",
"qrcode.vue": "^3.2.2",
"regenerator-runtime": "^0.13.9",
"rimraf": "^3.0.2",
"rollup": "^2.47.0",
"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.0",
"rollup-plugin-static-import": "^0.1.1",
"rollup-plugin-styles": "^3.14.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-vue": "^6.0.0",
"rollup-pluginutils": "^2.8.2",
"tdesign-icons-view": "^0.1.0",
"tdesign-publish-cli": "^0.0.10",
"tdesign-site-components": "^0.11.1",
"tslib": "^2.3.1",
"typescript": "~4.7.2",
"vite": "^2.9.14",
"vite-plugin-tdoc": "^2.0.1",
"vitest": "^0.16.0",
"vue": "^3.2.33",
"vue-eslint-parser": "^8.0.1",
"vue-router": "4.0.11",
"vue-tsc": "^0.34.16"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{vue,ts,tsx}": [
"eslint --fix"
]
}
}