2020-07-21 18:18:44 +08:00
|
|
|
{
|
2020-07-22 00:35:23 +08:00
|
|
|
"name": "element-plus",
|
|
|
|
"private": true,
|
2020-07-21 18:18:44 +08:00
|
|
|
"version": "0.0.0",
|
|
|
|
"scripts": {
|
2020-07-24 23:25:03 +08:00
|
|
|
"cz": "git add -A && npx git-cz",
|
2020-07-24 18:58:15 +08:00
|
|
|
"test": "jest",
|
2020-07-24 20:23:14 +08:00
|
|
|
"gen": "bash ./scripts/gc.sh",
|
2020-07-24 19:20:37 +08:00
|
|
|
"storybook": "start-storybook",
|
2020-07-27 16:17:41 +08:00
|
|
|
"bootstrap": "yarn && npx lerna bootstrap",
|
2020-07-28 13:28:00 +08:00
|
|
|
"build": "yarn bootstrap && yarn build-storybook",
|
2020-08-13 15:18:26 +08:00
|
|
|
"lint": "eslint ./packages --ext .vue,.js,.ts",
|
|
|
|
"website-build": "webpack --config ./website/webpack.config.js",
|
|
|
|
"website-dev": "webpack-dev-server --config ./website/webpack.config.js"
|
2020-07-21 18:18:44 +08:00
|
|
|
},
|
2020-07-24 15:15:28 +08:00
|
|
|
"peerDependencies": {
|
2020-07-27 18:14:23 +08:00
|
|
|
"vue": "^3.0.0-rc.1"
|
2020-07-21 18:18:44 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-07-24 19:20:37 +08:00
|
|
|
"@babel/core": "^7.10.5",
|
2020-07-24 23:25:03 +08:00
|
|
|
"@commitlint/cli": "^9.1.1",
|
|
|
|
"@commitlint/config-conventional": "^9.1.1",
|
2020-07-25 18:33:49 +08:00
|
|
|
"@storybook/addon-storysource": "^5.3.19",
|
2020-07-24 19:20:37 +08:00
|
|
|
"@storybook/html": "^5.3.19",
|
2020-07-31 10:30:24 +08:00
|
|
|
"@swc-node/jest": "^0.1.9",
|
2020-07-24 23:25:03 +08:00
|
|
|
"@types/jest": "^26.0.7",
|
2020-07-28 00:32:04 +08:00
|
|
|
"@types/lodash-es": "^4.17.3",
|
2020-07-27 16:17:41 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^3.7.0",
|
|
|
|
"@typescript-eslint/parser": "^3.7.0",
|
2020-07-21 20:23:49 +08:00
|
|
|
"@vue/compiler-sfc": "^3.0.0-rc.1",
|
2020-08-13 15:18:26 +08:00
|
|
|
"@vue/component-compiler-utils": "^3.2.0",
|
|
|
|
"algoliasearch": "^4.4.0",
|
2020-07-24 19:20:37 +08:00
|
|
|
"babel-loader": "^8.1.0",
|
|
|
|
"babel-preset-vue": "^2.0.2",
|
2020-08-13 15:18:26 +08:00
|
|
|
"css-loader": "^4.2.1",
|
2020-07-21 20:23:49 +08:00
|
|
|
"cz-conventional-changelog": "^3.2.0",
|
2020-07-27 16:17:41 +08:00
|
|
|
"eslint": "^7.5.0",
|
|
|
|
"eslint-plugin-vue": "^7.0.0-beta.0",
|
2020-08-13 15:18:26 +08:00
|
|
|
"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",
|
2020-07-24 18:58:15 +08:00
|
|
|
"jest": "^24.1.0",
|
2020-07-24 23:25:03 +08:00
|
|
|
"lerna": "^3.22.1",
|
2020-07-28 00:32:04 +08:00
|
|
|
"lint-staged": "^10.2.11",
|
2020-08-13 15:18:26 +08:00
|
|
|
"markdown-it": "^11.0.0",
|
|
|
|
"markdown-it-anchor": "^5.3.0",
|
|
|
|
"markdown-it-chain": "^1.3.0",
|
|
|
|
"markdown-it-container": "^3.0.0",
|
|
|
|
"node-sass": "^4.14.1",
|
|
|
|
"sass-loader": "^9.0.3",
|
|
|
|
"style-loader": "^1.2.1",
|
|
|
|
"throttle-debounce": "1.0.1",
|
|
|
|
"transliteration": "^2.1.11",
|
2020-07-24 19:20:37 +08:00
|
|
|
"ts-loader": "^8.0.1",
|
|
|
|
"typescript": "^3.9.7",
|
2020-08-13 15:18:26 +08:00
|
|
|
"url-loader": "^4.1.0",
|
2020-07-24 23:25:03 +08:00
|
|
|
"vite": "^1.0.0-rc.1",
|
|
|
|
"vue-jest": "5.0.0-alpha.1",
|
2020-08-13 15:18:26 +08:00
|
|
|
"vue-loader": "16.0.0-beta.5",
|
|
|
|
"vue-router": "^4.0.0-beta.4",
|
|
|
|
"vue-template-compiler": "^2.6.11",
|
|
|
|
"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": {
|
2020-08-04 16:08:14 +08:00
|
|
|
"*.{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",
|
|
|
|
"main": "index.js",
|
|
|
|
"repository": "git@github.com:element-plus/element-plus.git",
|
2020-07-28 00:32:04 +08:00
|
|
|
"license": "MIT",
|
|
|
|
"dependencies": {
|
2020-08-04 19:03:20 +08:00
|
|
|
"@popperjs/core": "^2.4.4",
|
2020-08-07 16:51:34 +08:00
|
|
|
"lodash-es": "^4.17.15",
|
|
|
|
"mitt": "^2.1.0"
|
2020-07-28 00:32:04 +08:00
|
|
|
}
|
2020-07-21 18:18:44 +08:00
|
|
|
}
|