2020-07-21 18:18:44 +08:00
|
|
|
{
|
2020-09-15 18:25:32 +08:00
|
|
|
"private": true,
|
2022-03-07 10:51:47 +08:00
|
|
|
"packageManager": "pnpm@6.32.3",
|
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",
|
2022-02-21 14:28:22 +08:00
|
|
|
"test": "pnpm test:jest && pnpm test:vitest",
|
|
|
|
"test:jest": "jest",
|
|
|
|
"test:vitest": "vitest",
|
|
|
|
"test:coverage": "vitest --coverage",
|
2022-01-10 19:25:48 +08:00
|
|
|
"prepare:e2e": "if [ ! -d \"docs/.vitepress/dist\" ]; then pnpm run docs:build; fi;",
|
|
|
|
"e2e": "cypress open",
|
|
|
|
"e2e:ci": "cypress run",
|
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-12-10 18:18:16 +08:00
|
|
|
"clean": "pnpm run clean:dist && pnpm run clean -r --stream",
|
|
|
|
"clean:dist": "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 .",
|
2022-03-10 15:39:13 +08:00
|
|
|
"lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 && pretty-quick --check --branch dev",
|
|
|
|
"lint:fix": "eslint --fix . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json && 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-11-12 17:35:09 +08:00
|
|
|
"postinstall": "pnpm gen:version",
|
|
|
|
"preinstall": "npx only-allow pnpm -y"
|
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": {
|
2022-03-10 15:39:13 +08:00
|
|
|
"*.{vue,js,ts,jsx,tsx,md,json}": "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:*",
|
2022-02-09 16:59:08 +08:00
|
|
|
"@element-plus/constants": "workspace:*",
|
2021-09-23 08:12:37 +08:00
|
|
|
"@element-plus/directives": "workspace:*",
|
|
|
|
"@element-plus/hooks": "workspace:*",
|
2022-03-07 10:51:47 +08:00
|
|
|
"@element-plus/icons-vue": "^1.0.1",
|
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:*",
|
2022-01-19 16:22:13 +08:00
|
|
|
"@popperjs/core": "^2.11.2",
|
2022-03-07 10:51:47 +08:00
|
|
|
"@vueuse/core": "^7.7.1",
|
2021-10-22 12:35:28 +08:00
|
|
|
"async-validator": "^4.0.7",
|
2022-03-07 10:51:47 +08:00
|
|
|
"dayjs": "^1.10.8",
|
2021-09-05 21:42:37 +08:00
|
|
|
"lodash": "^4.17.21",
|
2022-02-08 10:37:21 +08:00
|
|
|
"lodash-es": "^4.17.21",
|
2022-02-23 18:26:25 +08:00
|
|
|
"lodash-unified": "^1.0.2",
|
2021-10-22 12:35:28 +08:00
|
|
|
"memoize-one": "^6.0.0",
|
2021-11-16 10:55:54 +08:00
|
|
|
"normalize-wheel-es": "^1.1.1"
|
2021-09-05 21:42:37 +08:00
|
|
|
},
|
2020-07-21 18:18:44 +08:00
|
|
|
"devDependencies": {
|
2022-02-21 15:35:45 +08:00
|
|
|
"@babel/core": "^7.17.5",
|
|
|
|
"@babel/preset-env": "^7.16.11",
|
|
|
|
"@babel/preset-typescript": "^7.16.7",
|
|
|
|
"@commitlint/cli": "^16.2.1",
|
|
|
|
"@commitlint/config-conventional": "^16.2.1",
|
2022-03-10 15:39:13 +08:00
|
|
|
"@element-plus/eslint-config": "workspace:*",
|
2022-02-28 11:29:46 +08:00
|
|
|
"@pnpm/find-workspace-packages": "^3.1.42",
|
2022-02-21 15:35:45 +08:00
|
|
|
"@pnpm/logger": "^4.0.0",
|
2022-02-23 18:26:25 +08:00
|
|
|
"@pnpm/types": "^7.10.0",
|
2022-02-28 11:29:46 +08:00
|
|
|
"@rollup/plugin-commonjs": "^21.0.2",
|
2022-02-21 15:35:45 +08:00
|
|
|
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
|
|
"@types/fs-extra": "^9.0.13",
|
|
|
|
"@types/gulp": "^4.0.9",
|
|
|
|
"@types/jest": "^26.0.24",
|
2022-02-28 11:29:46 +08:00
|
|
|
"@types/lodash": "^4.14.179",
|
2022-02-21 15:35:45 +08:00
|
|
|
"@types/lodash-es": "^4.17.6",
|
|
|
|
"@types/node": "^17.0.18",
|
|
|
|
"@types/rollup-plugin-css-only": "^3.1.0",
|
|
|
|
"@types/sass": "^1.43.1",
|
2022-03-07 10:51:47 +08:00
|
|
|
"@vitejs/plugin-vue": "^2.2.4",
|
|
|
|
"@vitejs/plugin-vue-jsx": "^1.3.8",
|
|
|
|
"@vitest/ui": "^0.5.9",
|
2022-02-21 15:35:45 +08:00
|
|
|
"@vue/babel-plugin-jsx": "^1.1.1",
|
2021-10-30 16:00:18 +08:00
|
|
|
"@vue/test-utils": "2.0.0-rc.16",
|
2022-02-21 15:35:45 +08:00
|
|
|
"@vue/tsconfig": "^0.1.3",
|
|
|
|
"babel-jest": "^26.6.3",
|
|
|
|
"c8": "^7.11.0",
|
|
|
|
"chalk": "^4.1.2",
|
|
|
|
"components-helper": "^2.0.0",
|
|
|
|
"csstype": "^2.6.19",
|
2022-01-11 21:08:16 +08:00
|
|
|
"cypress": "8.5.0",
|
2022-02-21 15:35:45 +08:00
|
|
|
"cz-conventional-changelog": "^3.3.0",
|
2022-03-07 10:51:47 +08:00
|
|
|
"esbuild": "^0.14.25",
|
2022-02-28 11:29:46 +08:00
|
|
|
"eslint": "^8.10.0",
|
2022-02-21 15:35:45 +08:00
|
|
|
"eslint-define-config": "^1.2.5",
|
|
|
|
"expect-type": "^0.13.0",
|
|
|
|
"fast-glob": "^3.2.11",
|
2022-02-23 18:26:25 +08:00
|
|
|
"fs-extra": "^10.0.1",
|
2022-02-21 15:35:45 +08:00
|
|
|
"gulp": "^4.0.2",
|
|
|
|
"husky": "^7.0.4",
|
|
|
|
"jest": "^26.6.3",
|
2022-03-07 10:51:47 +08:00
|
|
|
"lint-staged": "^12.3.5",
|
2022-02-21 15:35:45 +08:00
|
|
|
"prettier": "^2.5.1",
|
|
|
|
"pretty-quick": "^3.1.3",
|
|
|
|
"resize-observer-polyfill": "^1.5.1",
|
|
|
|
"rimraf": "^3.0.2",
|
2022-03-07 10:51:47 +08:00
|
|
|
"rollup": "^2.69.2",
|
2022-02-21 15:35:45 +08:00
|
|
|
"rollup-plugin-css-only": "^3.1.0",
|
|
|
|
"rollup-plugin-esbuild": "^4.8.2",
|
|
|
|
"rollup-plugin-filesize": "^9.1.2",
|
2022-02-28 11:29:46 +08:00
|
|
|
"sass": "^1.49.9",
|
2022-02-21 15:35:45 +08:00
|
|
|
"sucrase": "^3.20.3",
|
|
|
|
"ts-jest": "^26.5.6",
|
2022-03-07 11:47:44 +08:00
|
|
|
"ts-morph": "^14.0.0",
|
2022-02-21 15:35:45 +08:00
|
|
|
"type-fest": "^2.12.0",
|
2022-03-07 10:51:47 +08:00
|
|
|
"typescript": "^4.6.2",
|
2022-02-28 11:29:46 +08:00
|
|
|
"unplugin-vue-define-options": "^0.4.0",
|
2022-03-07 10:51:47 +08:00
|
|
|
"vitest": "^0.5.9",
|
2022-02-21 15:35:45 +08:00
|
|
|
"vue": "^3.2.31",
|
|
|
|
"vue-jest": "^5.0.0-alpha.10",
|
2022-03-07 10:51:47 +08:00
|
|
|
"vue-router": "^4.0.13",
|
2022-03-10 15:39:13 +08:00
|
|
|
"vue-tsc": "^0.32.1"
|
2022-02-22 15:28:02 +08:00
|
|
|
},
|
|
|
|
"pnpm": {
|
|
|
|
"overrides": {
|
|
|
|
"jsdom": "16.4.0"
|
|
|
|
}
|
2021-09-05 21:42:37 +08:00
|
|
|
}
|
2020-07-21 18:18:44 +08:00
|
|
|
}
|