mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
23ab0e61a8
* chore(project): update package.json * chore(project): add browserslist
157 lines
5.3 KiB
JSON
157 lines
5.3 KiB
JSON
{
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"cz": "npx git-cz",
|
|
"test": "jest",
|
|
"gen": "bash ./scripts/gc.sh",
|
|
"gen:version": "esno build/gen-version.ts",
|
|
"update:version": "esno build/update-version.ts",
|
|
"bootstrap": "yarn --frozen-lockfile && npx lerna bootstrap && yarn gen:version",
|
|
"clean:lib": "rimraf lib && rimraf es && rimraf dist",
|
|
"build:locale-umd": "esno ./build/build-locale.ts",
|
|
"build:helper": "esno build/build-helper.ts",
|
|
"build:indices": "esno build/build-indices.ts",
|
|
"build:comps": "rimraf dist/components && esno build/components.ts",
|
|
"build:style": "gulp --cwd ./build",
|
|
"build:prod": "sh scripts/monorepo.sh",
|
|
"build:directives": "cd packages/directives && yarn clean && yarn build",
|
|
"build:hooks": "cd packages/hooks && yarn clean && yarn build",
|
|
"build:locale": "cd packages/locale && yarn clean && yarn build",
|
|
"build:theme": "cd packages/theme-chalk && yarn clean && yarn build",
|
|
"build:utils": "cd packages/utils && yarn clean && yarn build",
|
|
"build:tokens": "cd packages/tokens && yarn clean && yarn build",
|
|
"build:full-bundle": "esno build/full-bundle.ts",
|
|
"format": "prettier --write .",
|
|
"lint": "eslint ./packages --ext .vue,.js,.ts,.jsx,.tsx && prettier --check .",
|
|
"lint:fix": "eslint --fix ./packages --ext .vue,.js,.ts,.jsx,.tsx && prettier --write .",
|
|
"website-build": "rimraf website-dist && cross-env NODE_ENV=production webpack --config ./website/webpack.config.js",
|
|
"website-dev": "webpack-dev-server --config ./website/webpack.config.js",
|
|
"website-dev:play": "cross-env PLAY_ENV=true yarn website-dev",
|
|
"prepare": "husky install"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{vue,js,ts,jsx,tsx}": [
|
|
"eslint --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/icons": "^0.0.11",
|
|
"@popperjs/core": "^2.10.1",
|
|
"async-validator": "^3.4.0",
|
|
"dayjs": "1.x",
|
|
"lodash": "^4.17.21",
|
|
"mitt": "^2.1.0",
|
|
"normalize-wheel": "^1.0.1",
|
|
"resize-observer-polyfill": "^1.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.15.4",
|
|
"@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.4",
|
|
"@babel/preset-typescript": "^7.15.0",
|
|
"@commitlint/cli": "^13.1.0",
|
|
"@commitlint/config-conventional": "^13.1.0",
|
|
"@rollup/plugin-alias": "^3.1.5",
|
|
"@rollup/plugin-commonjs": "^15.1.0",
|
|
"@rollup/plugin-node-resolve": "^9.0.0",
|
|
"@rollup/plugin-typescript": "^6.0.0",
|
|
"@types/jest": "^26.0.10",
|
|
"@types/klaw-sync": "^6.0.1",
|
|
"@types/lodash": "^4.14.161",
|
|
"@typescript-eslint/eslint-plugin": "^4.30.0",
|
|
"@typescript-eslint/parser": "^4.30.0",
|
|
"@vue/babel-plugin-jsx": "^1.0.7",
|
|
"@vue/compiler-sfc": "^3.2.8",
|
|
"@vue/component-compiler-utils": "^3.2.2",
|
|
"algoliasearch": "^4.10.5",
|
|
"babel-jest": "^26.3.0",
|
|
"babel-loader": "^8.2.2",
|
|
"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",
|
|
"css-loader": "^4.2.2",
|
|
"css-minimizer-webpack-plugin": "^1.1.5",
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
"esbuild": "^0.12.25",
|
|
"eslint": "^7.7.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-vue": "^7.0.0-beta.0",
|
|
"esno": "^0.9.1",
|
|
"fast-glob": "^3.2.7",
|
|
"file-loader": "^6.2.0",
|
|
"file-save": "^0.2.0",
|
|
"gulp": "^4.0.2",
|
|
"gulp-typescript": "^6.0.0-alpha.1",
|
|
"highlight.js": "^10.4.1",
|
|
"html-webpack-plugin": "^4.3.0",
|
|
"husky": "^7.0.2",
|
|
"import-from": "^3.0.0",
|
|
"jest": "^26.6.3",
|
|
"klaw-sync": "^6.0.0",
|
|
"lerna": "^3.22.1",
|
|
"lint-staged": "^11.1.2",
|
|
"markdown-it": "^11.0.0",
|
|
"markdown-it-anchor": "^5.3.0",
|
|
"markdown-it-chain": "^1.3.0",
|
|
"markdown-it-container": "^3.0.0",
|
|
"mini-css-extract-plugin": "^0.11.2",
|
|
"ora": "^5.4.1",
|
|
"prettier": "^2.3.2",
|
|
"progress-bar-webpack-plugin": "^2.1.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.56.3",
|
|
"rollup-plugin-css-only": "^2.1.0",
|
|
"rollup-plugin-esbuild": "^4.5.0",
|
|
"rollup-plugin-filesize": "^9.1.1",
|
|
"rollup-plugin-replace": "^2.2.0",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"rollup-plugin-typescript2": "^0.27.3",
|
|
"rollup-plugin-vue": "^6.0.0",
|
|
"sass": "^1.39.0",
|
|
"sass-loader": "10.1.1",
|
|
"style-loader": "^1.2.1",
|
|
"throttle-debounce": "2.3.0",
|
|
"through2": "^4.0.2",
|
|
"transliteration": "^2.2.0",
|
|
"ts-loader": "^8.0.3",
|
|
"ts-morph": "^11.0.3",
|
|
"ts-node": "^10.1.0",
|
|
"typescript": "^4.4.2",
|
|
"url-loader": "^4.1.1",
|
|
"vue": "^3.2.0",
|
|
"vue-jest": "5.0.0-alpha.5",
|
|
"vue-loader": "^16.1.2",
|
|
"vue-router": "^4.0.2",
|
|
"vue-tsc": "^0.3.0",
|
|
"webpack": "^4.44.1",
|
|
"webpack-bundle-analyzer": "^3.9.0",
|
|
"webpack-cli": "^3.3.12",
|
|
"webpack-dev-server": "^3.11.0"
|
|
}
|
|
}
|