mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
3172fec0e4
Co-authored-by: Renovate Bot <bot@renovateapp.com>
125 lines
3.8 KiB
JSON
125 lines
3.8 KiB
JSON
{
|
|
"private": true,
|
|
"packageManager": "pnpm@6.25.0",
|
|
"workspaces": [
|
|
"packages/*",
|
|
"play",
|
|
"docs"
|
|
],
|
|
"engines": {
|
|
"node": ">= 16"
|
|
},
|
|
"scripts": {
|
|
"cz": "git-cz",
|
|
"test": "jest",
|
|
"dev": "pnpm -C play dev",
|
|
"gen": "bash ./scripts/gc.sh",
|
|
"gen:version": "sucrase-node scripts/gen-version.ts",
|
|
"update:version": "sucrase-node scripts/update-version.ts",
|
|
"clean": "pnpm run clean:dist && pnpm run clean -r --stream",
|
|
"clean:dist": "rimraf dist",
|
|
"build": "gulp --require sucrase/register/ts -f build/gulpfile.ts",
|
|
"build:theme": "pnpm run build -C packages/theme-chalk",
|
|
"format": "prettier --write .",
|
|
"lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx --max-warnings 0 && pretty-quick --check --branch dev",
|
|
"lint:fix": "eslint --fix . --ext .vue,.js,.ts,.jsx,.tsx && 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",
|
|
"prepare": "husky install",
|
|
"postinstall": "pnpm gen:version",
|
|
"preinstall": "npx only-allow pnpm -y"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{vue,js,ts,jsx,tsx}": "eslint --fix"
|
|
},
|
|
"browserslist": [
|
|
"> 1%",
|
|
"not ie 11",
|
|
"not op_mini all"
|
|
],
|
|
"peerDependencies": {
|
|
"vue": "^3.2.0"
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/components": "workspace:*",
|
|
"@element-plus/directives": "workspace:*",
|
|
"@element-plus/hooks": "workspace:*",
|
|
"@element-plus/icons-vue": "^0.2.4",
|
|
"@element-plus/locale": "workspace:*",
|
|
"@element-plus/test-utils": "workspace:*",
|
|
"@element-plus/theme-chalk": "workspace:*",
|
|
"@element-plus/tokens": "workspace:*",
|
|
"@element-plus/utils": "workspace:*",
|
|
"@popperjs/core": "^2.10.2",
|
|
"@vueuse/core": "^7.3.0",
|
|
"async-validator": "^4.0.7",
|
|
"dayjs": "^1.10.7",
|
|
"lodash": "^4.17.21",
|
|
"memoize-one": "^6.0.0",
|
|
"normalize-wheel-es": "^1.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "16.0.1",
|
|
"@commitlint/config-conventional": "16.0.0",
|
|
"@pnpm/find-workspace-packages": "3.1.34",
|
|
"@pnpm/logger": "4.0.0",
|
|
"@pnpm/types": "7.8.0",
|
|
"@rollup/plugin-commonjs": "21.0.1",
|
|
"@rollup/plugin-node-resolve": "13.1.3",
|
|
"@rollup/plugin-replace": "3.0.1",
|
|
"@sucrase/jest-plugin": "2.2.0",
|
|
"@types/fs-extra": "9.0.13",
|
|
"@types/gulp": "4.0.9",
|
|
"@types/jest": "27.0.2",
|
|
"@types/lodash": "4.14.178",
|
|
"@types/sass": "1.43.1",
|
|
"@typescript-eslint/eslint-plugin": "5.9.0",
|
|
"@typescript-eslint/parser": "5.9.0",
|
|
"@vue/test-utils": "2.0.0-rc.16",
|
|
"chalk": "4.1.2",
|
|
"components-helper": "1.0.5",
|
|
"csstype": "2.6.19",
|
|
"cz-conventional-changelog": "3.3.0",
|
|
"esbuild": "0.14.10",
|
|
"eslint": "8.6.0",
|
|
"eslint-config-prettier": "8.3.0",
|
|
"eslint-define-config": "1.2.2",
|
|
"eslint-plugin-import": "2.25.4",
|
|
"eslint-plugin-prettier": "4.0.0",
|
|
"eslint-plugin-vue": "8.2.0",
|
|
"expect-type": "0.13.0",
|
|
"fast-glob": "3.2.9",
|
|
"fs-extra": "10.0.0",
|
|
"gulp": "4.0.2",
|
|
"husky": "7.0.4",
|
|
"jest": "26.6.3",
|
|
"lint-staged": "12.1.7",
|
|
"prettier": "2.5.1",
|
|
"pretty-quick": "3.1.3",
|
|
"resize-observer-polyfill": "1.5.1",
|
|
"rimraf": "3.0.2",
|
|
"rollup": "2.63.0",
|
|
"rollup-plugin-css-only": "3.1.0",
|
|
"rollup-plugin-esbuild": "4.8.2",
|
|
"rollup-plugin-filesize": "9.1.1",
|
|
"rollup-plugin-vue": "6.0.0",
|
|
"sass": "1.47.0",
|
|
"sucrase": "3.20.3",
|
|
"ts-jest": "26.5.6",
|
|
"ts-morph": "13.0.2",
|
|
"typescript": "4.5.4",
|
|
"vue": "3.2.26",
|
|
"vue-jest": "5.0.0-alpha.10",
|
|
"vue-router": "4.0.12",
|
|
"vue-tsc": "0.30.2"
|
|
}
|
|
}
|