mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
143 lines
4.5 KiB
JSON
143 lines
4.5 KiB
JSON
{
|
|
"private": true,
|
|
"packageManager": "pnpm@6.15.1",
|
|
"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 build/gen-version.ts",
|
|
"update:version": "sucrase-node build/update-version.ts",
|
|
"clean": "pnpm run clean:lib && pnpm run clean -r --stream",
|
|
"clean:lib": "rimraf dist",
|
|
"build": "gulp -f build/gulpfile.ts",
|
|
"format": "prettier --write .",
|
|
"lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx --max-warnings 0 && prettier --check .",
|
|
"lint:fix": "eslint --fix . --ext .vue,.js,.ts,.jsx,.tsx && prettier --write .",
|
|
"docs:dev": "sh ./scripts/if-build.sh && pnpm docs:gen-locale && pnpm -C docs dev",
|
|
"docs:build": "pnpm -C docs build",
|
|
"docs:serve": "pnpm -C docs serve",
|
|
"docs:gen-locale": "rimraf docs/.vitepress/i18n && sucrase-node build/crowdin-generate.ts",
|
|
"docs:crowdin": "sucrase-node build/crowdin-credentials.ts",
|
|
"prepare": "husky install",
|
|
"postinstall": "pnpm gen:version"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{vue,js,ts,jsx,tsx}": [
|
|
"eslint --max-warnings 0 --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.{scss,css,json,yaml,yml,md,html}": "prettier --write"
|
|
},
|
|
"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": "^0.0.11",
|
|
"@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.1",
|
|
"@types/gulp": "^4.0.9",
|
|
"@types/sass": "^1.16.1",
|
|
"@vueuse/core": "~6.1.0",
|
|
"async-validator": "^4.0.3",
|
|
"dayjs": "^1.10.7",
|
|
"lodash": "^4.17.21",
|
|
"memoize-one": "^5.2.1",
|
|
"normalize-wheel-es": "^1.1.0",
|
|
"resize-observer-polyfill": "^1.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.15.7",
|
|
"@babel/core": "^7.15.5",
|
|
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
|
"@babel/plugin-transform-runtime": "^7.15.0",
|
|
"@babel/preset-env": "^7.15.6",
|
|
"@babel/preset-typescript": "^7.15.0",
|
|
"@commitlint/cli": "^13.1.0",
|
|
"@commitlint/config-conventional": "^13.1.0",
|
|
"@pnpm/find-workspace-packages": "^3.1.13",
|
|
"@pnpm/logger": "^4.0.0",
|
|
"@pnpm/types": "^7.4.0",
|
|
"@rollup/plugin-alias": "^3.1.5",
|
|
"@rollup/plugin-commonjs": "^15.1.0",
|
|
"@rollup/plugin-node-resolve": "^9.0.0",
|
|
"@rollup/plugin-replace": "^3.0.0",
|
|
"@rollup/plugin-typescript": "^8.2.5",
|
|
"@types/jest": "^26.0.24",
|
|
"@types/lodash": "^4.14.173",
|
|
"@types/through2": "^2.0.36",
|
|
"@typescript-eslint/eslint-plugin": "^4.31.2",
|
|
"@typescript-eslint/parser": "^4.31.2",
|
|
"@vue/babel-plugin-jsx": "^1.0.7",
|
|
"@vue/compiler-sfc": "^3.2.18",
|
|
"@vue/component-compiler-utils": "^3.2.2",
|
|
"@vue/test-utils": "2.0.0-beta.4",
|
|
"algoliasearch": "^4.10.5",
|
|
"babel-jest": "^26.3.0",
|
|
"babel-plugin-lodash": "^3.3.4",
|
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
"babel-preset-vue": "^2.0.2",
|
|
"chalk": "^4.1.2",
|
|
"clipboard-copy": "^4.0.1",
|
|
"components-helper": "^1.0.4",
|
|
"cross-env": "^7.0.3",
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
"esbuild": "~0.13.2",
|
|
"eslint": "^7.7.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-import": "^2.24.2",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-vue": "^7.18.0",
|
|
"expect-type": "^0.12.0",
|
|
"fast-glob": "^3.2.7",
|
|
"file-save": "^0.2.0",
|
|
"gulp": "^4.0.2",
|
|
"gulp-typescript": "^6.0.0-alpha.1",
|
|
"husky": "^7.0.2",
|
|
"jest": "^26.6.3",
|
|
"lint-staged": "^11.1.2",
|
|
"prettier": "^2.4.1",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.57.0",
|
|
"rollup-plugin-css-only": "^3.1.0",
|
|
"rollup-plugin-esbuild": "^4.5.0",
|
|
"rollup-plugin-filesize": "^9.1.1",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"rollup-plugin-vue": "^6.0.0",
|
|
"sass": "^1.42.1",
|
|
"sucrase": "^3.20.1",
|
|
"through2": "^4.0.2",
|
|
"ts-morph": "^12.0.0",
|
|
"typescript": "^4.4.3",
|
|
"vue": "^3.2.18",
|
|
"vue-jest": "5.0.0-alpha.5",
|
|
"vue-router": "^4.0.11",
|
|
"vue-tsc": "^0.3.0"
|
|
}
|
|
}
|