forked from element-plus/element-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
142 lines (142 loc) Β· 4.51 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
{
"private": true,
"packageManager": "[email protected]",
"workspaces": [
"packages/*",
"play",
"docs"
],
"engines": {
"node": ">= 16"
},
"scripts": {
"cz": "git-cz",
"test": "pnpm test:jest && pnpm test:vitest",
"test:jest": "jest",
"test:vitest": "vitest",
"test:coverage": "vitest --coverage",
"test:ssr": "rimraf ./ssr-testing/screenshots/* && vitest --config ./ssr-testing/vitest.config.ts",
"prepare:e2e": "if [ ! -d \"docs/.vitepress/dist\" ]; then pnpm run docs:build; fi;",
"dev": "pnpm -C play dev",
"gen": "bash ./scripts/gc.sh",
"gen:version": "sucrase-node scripts/gen-version.ts",
"diff:table": "sucrase-node scripts/build-table.ts",
"update:version": "sucrase-node scripts/update-version.ts",
"clean": "pnpm run clean:dist && pnpm run clean --filter ./packages/ --stream",
"clean:dist": "rimraf dist",
"build": "pnpm run start -C internal/build",
"build:theme": "pnpm run build -C packages/theme-chalk",
"format": "prettier --write .",
"lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 && pretty-quick --check --branch dev",
"lint:fix": "eslint --fix . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json && pretty-quick --branch dev",
"docs:dev": "pnpm run -C docs dev",
"docs:build": "pnpm run -C docs build",
"docs:serve": "pnpm run -C docs serve",
"docs:gen-locale": "pnpm run -C docs gen-locale",
"docs:crowdin-credentials": "pnpm run -C docs crowdin-credentials",
"stub": "pnpm run -C internal/build stub",
"prepare": "husky install",
"postinstall": "pnpm gen:version && pnpm stub",
"preinstall": "npx only-allow pnpm -y"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{vue,js,ts,jsx,tsx,md,json}": "eslint --fix"
},
"browserslist": [
"> 1%",
"not ie 11",
"not op_mini all"
],
"peerDependencies": {
"vue": "^3.2.0"
},
"dependencies": {
"@element-plus/components": "workspace:*",
"@element-plus/constants": "workspace:*",
"@element-plus/directives": "workspace:*",
"@element-plus/hooks": "workspace:*",
"@element-plus/icons-vue": "^1.1.4",
"@element-plus/locale": "workspace:*",
"@element-plus/test-utils": "workspace:*",
"@element-plus/theme-chalk": "workspace:*",
"@element-plus/tokens": "workspace:*",
"@element-plus/utils": "workspace:*",
"@floating-ui/dom": "^0.4.2",
"@popperjs/core": "^2.11.4",
"@vueuse/core": "^8.2.3",
"async-validator": "^4.0.7",
"dayjs": "^1.11.0",
"escape-html": "^1.0.3",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"lodash-unified": "^1.0.2",
"memoize-one": "^6.0.0",
"normalize-wheel-es": "^1.1.2"
},
"devDependencies": {
"@babel/core": "^7.17.8",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@element-plus/build": "workspace:^0.0.1",
"@element-plus/eslint-config": "workspace:*",
"@pnpm/find-workspace-packages": "^4.0.0",
"@pnpm/logger": "^4.0.0",
"@pnpm/types": "^8.0.0",
"@types/fs-extra": "^9.0.13",
"@types/gulp": "^4.0.9",
"@types/jest": "^26.0.24",
"@types/lodash": "^4.14.181",
"@types/lodash-es": "^4.17.6",
"@types/node": "*",
"@types/sass": "^1.43.1",
"@vitejs/plugin-vue": "^2.3.1",
"@vitejs/plugin-vue-jsx": "^1.3.9",
"@vitest/ui": "^0.8.1",
"@vue/babel-plugin-jsx": "^1.1.1",
"@vue/test-utils": "2.0.0-rc.16",
"@vue/tsconfig": "^0.1.3",
"babel-jest": "^26.6.3",
"c8": "^7.11.0",
"chalk": "^4.1.2",
"consola": "^2.15.3",
"csstype": "^2.6.20",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.12.0",
"eslint-define-config": "^1.3.0",
"expect-type": "^0.13.0",
"fast-glob": "^3.2.11",
"husky": "^7.0.4",
"jest": "^26.6.3",
"lint-staged": "^12.3.7",
"prettier": "^2.6.1",
"pretty-quick": "^3.1.3",
"puppeteer": "^13.5.2",
"resize-observer-polyfill": "^1.5.1",
"rimraf": "^3.0.2",
"sass": "^1.49.10",
"sucrase": "^3.20.3",
"ts-jest": "^26.5.6",
"ts-morph": "^14.0.0",
"type-fest": "^2.12.2",
"typescript": "^4.6.3",
"unplugin-element-plus": "^0.3.3",
"unplugin-vue-define-options": "^0.6.0",
"vitest": "^0.8.1",
"vue": "^3.2.31",
"vue-jest": "^5.0.0-alpha.10",
"vue-router": "^4.0.14",
"vue-tsc": "^0.33.9"
},
"pnpm": {
"overrides": {
"jsdom": "16.4.0"
}
}
}