2020-07-21 18:18:44 +08:00
|
|
|
{
|
2020-09-15 18:25:32 +08:00
|
|
|
"private": true,
|
2021-09-24 09:28:21 +08:00
|
|
|
"packageManager": "pnpm@6.15.1",
|
2021-09-05 21:42:37 +08:00
|
|
|
"workspaces": [
|
2021-09-24 09:28:21 +08:00
|
|
|
"packages/*",
|
|
|
|
"play",
|
|
|
|
"docs"
|
2021-09-05 21:42:37 +08:00
|
|
|
],
|
2021-09-27 12:56:31 +08:00
|
|
|
"engines": {
|
|
|
|
"node": ">= 16"
|
|
|
|
},
|
2020-07-21 18:18:44 +08:00
|
|
|
"scripts": {
|
2021-09-27 12:56:31 +08:00
|
|
|
"cz": "git-cz",
|
2020-07-24 18:58:15 +08:00
|
|
|
"test": "jest",
|
2021-09-24 09:28:21 +08:00
|
|
|
"dev": "pnpm -C play dev",
|
2020-07-24 20:23:14 +08:00
|
|
|
"gen": "bash ./scripts/gc.sh",
|
2021-10-25 17:07:48 +08:00
|
|
|
"gen:version": "sucrase-node scripts/gen-version.ts",
|
|
|
|
"update:version": "sucrase-node scripts/update-version.ts",
|
2021-09-26 01:29:07 +08:00
|
|
|
"clean": "pnpm run clean:lib && pnpm run clean -r --stream",
|
|
|
|
"clean:lib": "rimraf dist",
|
2021-10-25 17:07:48 +08:00
|
|
|
"build": "gulp --require sucrase/register/ts -f build/gulpfile.ts",
|
2021-10-29 19:16:53 +08:00
|
|
|
"build:theme": "pnpm run build -C packages/theme-chalk",
|
2021-09-05 00:53:31 +08:00
|
|
|
"format": "prettier --write .",
|
2021-10-01 14:17:16 +08:00
|
|
|
"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",
|
2021-10-25 17:07:48 +08:00
|
|
|
"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",
|
2021-09-18 13:46:40 +08:00
|
|
|
"prepare": "husky install",
|
2021-09-23 08:12:37 +08:00
|
|
|
"postinstall": "pnpm gen:version"
|
2020-07-21 18:18:44 +08:00
|
|
|
},
|
2021-09-05 21:42:37 +08:00
|
|
|
"config": {
|
|
|
|
"commitizen": {
|
|
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2021-10-01 14:17:16 +08:00
|
|
|
"*.{vue,js,ts,jsx,tsx}": "eslint --fix"
|
2021-09-05 21:42:37 +08:00
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
"> 1%",
|
|
|
|
"not ie 11",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
2020-07-24 15:15:28 +08:00
|
|
|
"peerDependencies": {
|
2021-08-25 17:34:57 +08:00
|
|
|
"vue": "^3.2.0"
|
2020-07-21 18:18:44 +08:00
|
|
|
},
|
2021-09-05 21:42:37 +08:00
|
|
|
"dependencies": {
|
2021-09-23 08:12:37 +08:00
|
|
|
"@element-plus/components": "workspace:*",
|
|
|
|
"@element-plus/directives": "workspace:*",
|
|
|
|
"@element-plus/hooks": "workspace:*",
|
2021-09-05 21:42:37 +08:00
|
|
|
"@element-plus/icons": "^0.0.11",
|
2021-09-23 08:12:37 +08:00
|
|
|
"@element-plus/locale": "workspace:*",
|
|
|
|
"@element-plus/test-utils": "workspace:*",
|
|
|
|
"@element-plus/theme-chalk": "workspace:*",
|
|
|
|
"@element-plus/tokens": "workspace:*",
|
|
|
|
"@element-plus/utils": "workspace:*",
|
2021-10-16 21:00:18 +08:00
|
|
|
"@popperjs/core": "^2.10.2",
|
2021-10-25 17:07:48 +08:00
|
|
|
"@vueuse/core": "^6.7.3",
|
2021-10-22 12:35:28 +08:00
|
|
|
"async-validator": "^4.0.7",
|
2021-09-24 09:28:21 +08:00
|
|
|
"dayjs": "^1.10.7",
|
2021-09-05 21:42:37 +08:00
|
|
|
"lodash": "^4.17.21",
|
2021-10-22 12:35:28 +08:00
|
|
|
"memoize-one": "^6.0.0",
|
2021-09-27 09:55:40 +08:00
|
|
|
"normalize-wheel-es": "^1.1.0",
|
2021-09-23 08:12:37 +08:00
|
|
|
"resize-observer-polyfill": "^1.5.1"
|
2021-09-05 21:42:37 +08:00
|
|
|
},
|
2020-07-21 18:18:44 +08:00
|
|
|
"devDependencies": {
|
2021-10-16 21:00:18 +08:00
|
|
|
"@commitlint/cli": "^13.2.1",
|
|
|
|
"@commitlint/config-conventional": "^13.2.0",
|
2021-10-25 17:07:48 +08:00
|
|
|
"@pnpm/find-workspace-packages": "^3.1.20",
|
2021-09-23 08:12:37 +08:00
|
|
|
"@pnpm/logger": "^4.0.0",
|
2021-09-26 01:29:07 +08:00
|
|
|
"@pnpm/types": "^7.4.0",
|
2020-09-30 18:21:47 +08:00
|
|
|
"@rollup/plugin-commonjs": "^15.1.0",
|
2021-10-25 17:07:48 +08:00
|
|
|
"@rollup/plugin-node-resolve": "^13.0.6",
|
2021-09-26 01:29:07 +08:00
|
|
|
"@rollup/plugin-replace": "^3.0.0",
|
2021-09-27 15:25:58 +08:00
|
|
|
"@sucrase/jest-plugin": "^2.1.1",
|
2021-10-16 21:00:18 +08:00
|
|
|
"@types/gulp": "^4.0.9",
|
2021-09-26 00:07:33 +08:00
|
|
|
"@types/jest": "^26.0.24",
|
2021-10-22 12:35:28 +08:00
|
|
|
"@types/lodash": "^4.14.176",
|
2021-09-28 20:42:12 +08:00
|
|
|
"@types/sass": "^1.16.1",
|
2021-09-15 01:13:36 +08:00
|
|
|
"@types/through2": "^2.0.36",
|
2021-10-22 12:35:28 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.1.0",
|
|
|
|
"@typescript-eslint/parser": "^5.1.0",
|
2021-10-16 21:00:18 +08:00
|
|
|
"@vue/compiler-sfc": "^3.2.20",
|
2021-10-30 16:00:18 +08:00
|
|
|
"@vue/test-utils": "2.0.0-rc.16",
|
2021-09-05 16:27:17 +08:00
|
|
|
"chalk": "^4.1.2",
|
|
|
|
"components-helper": "^1.0.4",
|
2020-08-29 23:24:10 +08:00
|
|
|
"cz-conventional-changelog": "^3.3.0",
|
2021-10-25 17:07:48 +08:00
|
|
|
"esbuild": "~0.13.9",
|
2021-10-16 21:00:18 +08:00
|
|
|
"eslint": "^8.0.1",
|
2021-09-04 19:29:28 +08:00
|
|
|
"eslint-config-prettier": "^8.3.0",
|
2021-10-06 19:41:52 +08:00
|
|
|
"eslint-define-config": "^1.1.1",
|
2021-10-16 21:00:18 +08:00
|
|
|
"eslint-plugin-import": "^2.25.2",
|
2021-09-04 19:29:28 +08:00
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
2021-10-22 12:35:28 +08:00
|
|
|
"eslint-plugin-vue": "^7.20.0",
|
|
|
|
"expect-type": "^0.13.0",
|
2021-08-24 13:36:48 +08:00
|
|
|
"fast-glob": "^3.2.7",
|
|
|
|
"gulp": "^4.0.2",
|
|
|
|
"gulp-typescript": "^6.0.0-alpha.1",
|
2021-10-22 12:35:28 +08:00
|
|
|
"husky": "^7.0.4",
|
2021-01-07 11:22:54 +08:00
|
|
|
"jest": "^26.6.3",
|
2021-10-16 21:00:18 +08:00
|
|
|
"lint-staged": "^11.2.3",
|
2021-09-19 19:34:25 +08:00
|
|
|
"prettier": "^2.4.1",
|
2021-10-01 14:17:16 +08:00
|
|
|
"pretty-quick": "^3.1.1",
|
2020-09-15 16:10:32 +08:00
|
|
|
"rimraf": "^3.0.2",
|
2021-10-16 21:00:18 +08:00
|
|
|
"rollup": "^2.58.0",
|
2021-09-26 01:29:07 +08:00
|
|
|
"rollup-plugin-css-only": "^3.1.0",
|
2021-10-22 12:35:28 +08:00
|
|
|
"rollup-plugin-esbuild": "^4.6.0",
|
2021-08-24 13:36:48 +08:00
|
|
|
"rollup-plugin-filesize": "^9.1.1",
|
2021-06-03 13:05:21 +08:00
|
|
|
"rollup-plugin-vue": "^6.0.0",
|
2021-10-22 12:35:28 +08:00
|
|
|
"sass": "^1.43.3",
|
|
|
|
"sucrase": "^3.20.3",
|
2021-08-24 13:36:48 +08:00
|
|
|
"through2": "^4.0.2",
|
2021-10-06 17:36:47 +08:00
|
|
|
"ts-jest": "^26.5.6",
|
2021-09-26 01:29:07 +08:00
|
|
|
"ts-morph": "^12.0.0",
|
2021-10-16 21:00:18 +08:00
|
|
|
"typescript": "^4.4.4",
|
|
|
|
"vue": "^3.2.20",
|
2021-10-06 17:36:47 +08:00
|
|
|
"vue-jest": "5.0.0-alpha.10",
|
2021-10-16 21:00:18 +08:00
|
|
|
"vue-router": "^4.0.12",
|
2021-10-25 17:07:48 +08:00
|
|
|
"vue-tsc": "^0.28.8"
|
2021-09-05 21:42:37 +08:00
|
|
|
}
|
2020-07-21 18:18:44 +08:00
|
|
|
}
|