element-plus/package.json

123 lines
3.8 KiB
JSON
Raw Normal View History

2020-07-21 18:18:44 +08:00
{
2020-07-22 00:35:23 +08:00
"name": "element-plus",
2020-09-15 18:25:32 +08:00
"private": true,
2020-10-15 10:24:46 +08:00
"version": "1.0.1-alpha.5",
2020-07-21 18:18:44 +08:00
"scripts": {
2020-08-28 11:44:04 +08:00
"cz": "npx git-cz",
2020-07-24 18:58:15 +08:00
"test": "jest",
"gen": "bash ./scripts/gc.sh",
"bootstrap": "yarn && npx lerna bootstrap",
2020-09-15 16:10:32 +08:00
"build": "yarn bootstrap && yarn build:lib && yarn build:theme",
"build:lib": "rimraf lib && webpack --config ./build/webpack.config.js",
"build:esm": "rollup --config ./build/rollup.config.js",
2020-09-15 16:10:32 +08:00
"build:theme": "rimraf packages/theme-chalk/lib && gulp build --gulpfile packages/theme-chalk/gulpfile.js && cp-cli packages/theme-chalk/lib lib/theme-chalk",
"lint": "eslint ./packages --ext .vue,.js,.ts",
2020-09-24 11:13:53 +08:00
"website-build": "rimraf website-dist && cross-env NODE_ENV=production webpack --config ./website/webpack.config.js",
2020-08-25 09:58:26 +08:00
"website-dev": "webpack-dev-server --config ./website/webpack.config.js",
2020-09-18 16:15:30 +08:00
"website-dev:play": "cross-env PLAY_ENV=true yarn website-dev"
2020-07-21 18:18:44 +08:00
},
2020-07-24 15:15:28 +08:00
"peerDependencies": {
"vue": "^3.0.0"
2020-07-21 18:18:44 +08:00
},
"devDependencies": {
2020-08-29 23:24:10 +08:00
"@babel/core": "^7.11.4",
2020-09-21 15:39:53 +08:00
"@babel/preset-env": "^7.11.5",
"@babel/preset-typescript": "^7.10.4",
2020-08-29 23:24:10 +08:00
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^9.1.2",
"@rollup/plugin-commonjs": "^15.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-typescript": "^6.0.0",
2020-08-29 23:24:10 +08:00
"@types/jest": "^26.0.10",
"@types/lodash": "^4.14.161",
"@typescript-eslint/eslint-plugin": "^3.10.1",
2020-08-29 23:24:10 +08:00
"@typescript-eslint/parser": "^3.10.1",
2020-09-15 12:28:12 +08:00
"@vue/babel-plugin-jsx": "^1.0.0-rc.3",
"@vue/compiler-sfc": "^3.0.0",
"@vue/component-compiler-utils": "^3.2.0",
"algoliasearch": "^4.4.0",
2020-09-21 15:39:53 +08:00
"babel-jest": "^26.3.0",
"babel-loader": "^8.1.0",
"babel-preset-vue": "^2.0.2",
"cp-cli": "^2.0.0",
"cross-env": "^7.0.2",
2020-08-29 23:24:10 +08:00
"css-loader": "^4.2.2",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.7.0",
"eslint-plugin-vue": "^7.0.0-beta.0",
"file-loader": "^6.0.0",
"highlight.js": "^10.1.2",
"html-webpack-plugin": "^4.3.0",
2020-07-24 23:25:03 +08:00
"husky": "^4.2.5",
"import-from": "^3.0.0",
2020-08-29 23:24:10 +08:00
"jest": "^26.4.2",
2020-07-24 23:25:03 +08:00
"lerna": "^3.22.1",
2020-08-29 23:24:10 +08:00
"lint-staged": "^10.2.13",
"markdown-it": "^11.0.0",
"markdown-it-anchor": "^5.3.0",
"markdown-it-chain": "^1.3.0",
"markdown-it-container": "^3.0.0",
2020-09-24 11:13:53 +08:00
"mini-css-extract-plugin": "^0.11.2",
2020-09-15 16:10:32 +08:00
"rimraf": "^3.0.2",
"rollup": "^2.28.2",
"rollup-plugin-css-only": "^2.1.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.27.3",
"rollup-plugin-vue": "^6.0.0-beta.10",
"sass": "^1.26.10",
2020-08-29 23:24:10 +08:00
"sass-loader": "^10.0.1",
"style-loader": "^1.2.1",
2020-08-29 23:24:10 +08:00
"throttle-debounce": "2.3.0",
"transliteration": "^2.1.11",
2020-08-29 23:24:10 +08:00
"ts-loader": "^8.0.3",
2020-08-21 16:00:08 +08:00
"typescript": "^4.0.2",
"url-loader": "^4.1.0",
2020-07-24 23:25:03 +08:00
"vue-jest": "5.0.0-alpha.1",
"vue-loader": "16.0.0-beta.7",
"vue-router": "^4.0.0-beta.4",
2020-08-29 23:24:10 +08:00
"vue-template-compiler": "^2.6.12",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
2020-07-21 20:23:49 +08:00
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
2020-07-22 00:35:23 +08:00
},
2020-07-24 23:25:03 +08:00
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push-todo-open": "npm run test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,ts,vue}": "eslint --fix"
2020-07-24 23:25:03 +08:00
},
2020-07-22 00:35:23 +08:00
"workspaces": [
"packages/*"
],
"description": "A Component Library for Vue3.0",
"repository": "git@github.com:element-plus/element-plus.git",
"license": "MIT",
"dependencies": {
"@popperjs/core": "^2.4.4",
2020-08-25 09:58:26 +08:00
"dayjs": "1.x",
2020-08-14 01:37:25 +08:00
"lodash": "^4.17.20",
2020-08-07 16:51:34 +08:00
"mitt": "^2.1.0"
2020-09-15 16:10:32 +08:00
},
"files": [
"lib",
2020-10-15 10:24:40 +08:00
"types",
"packages"
2020-09-15 16:10:32 +08:00
],
2020-09-15 17:23:41 +08:00
"main": "lib/index.js",
2020-09-15 16:10:32 +08:00
"typings": "types/index.d.ts",
"unpkg": "lib/index.js",
"style": "lib/theme-chalk/index.css",
"browserslist": [
"last 2 version"
]
2020-07-21 18:18:44 +08:00
}