2020-07-21 18:18:44 +08:00
|
|
|
{
|
2020-09-15 18:25:32 +08:00
|
|
|
"private": true,
|
2024-01-11 15:32:43 +08:00
|
|
|
"packageManager": "pnpm@8.14.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
|
|
|
],
|
2020-07-21 18:18:44 +08:00
|
|
|
"scripts": {
|
2022-06-28 16:31:15 +08:00
|
|
|
"cz": "czg",
|
2022-04-19 16:51:44 +08:00
|
|
|
"test": "vitest",
|
2022-02-21 14:28:22 +08:00
|
|
|
"test:coverage": "vitest --coverage",
|
2022-05-02 15:15:22 +08:00
|
|
|
"test:ssr": "vitest --config ./ssr-testing/vitest.config.ts",
|
2022-01-10 19:25:48 +08:00
|
|
|
"prepare:e2e": "if [ ! -d \"docs/.vitepress/dist\" ]; then pnpm run docs:build; fi;",
|
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",
|
2022-05-24 19:31:16 +08:00
|
|
|
"gen:version": "tsx scripts/gen-version.ts",
|
|
|
|
"diff:table": "tsx scripts/build-table.ts",
|
|
|
|
"update:version": "tsx scripts/update-version.ts",
|
2022-05-02 14:51:59 +08:00
|
|
|
"clean": "pnpm run clean:dist && pnpm run -r --parallel clean",
|
2021-12-10 18:18:16 +08:00
|
|
|
"clean:dist": "rimraf dist",
|
2022-05-02 14:51:59 +08:00
|
|
|
"build": "pnpm run -C internal/build start",
|
|
|
|
"build:theme": "pnpm run -C packages/theme-chalk build",
|
2022-09-12 22:09:08 +08:00
|
|
|
"format": "prettier --write --cache .",
|
|
|
|
"lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 --cache",
|
|
|
|
"lint:fix": "pnpm run lint --fix",
|
2022-05-26 13:06:00 +08:00
|
|
|
"lint:commit": "commitlint --from $(git merge-base origin/dev HEAD) --to HEAD > ./commit-lint.txt",
|
2022-06-22 08:04:42 +08:00
|
|
|
"typecheck": "run-p typecheck:web typecheck:play typecheck:node typecheck:vite-config typecheck:vitest",
|
2022-05-24 22:54:34 +08:00
|
|
|
"typecheck:web": "vue-tsc -p tsconfig.web.json --composite false --noEmit",
|
|
|
|
"typecheck:node": "tsc -p tsconfig.node.json --noEmit",
|
|
|
|
"typecheck:play": "vue-tsc -p tsconfig.play.json --composite false --noEmit",
|
|
|
|
"typecheck:vite-config": "vue-tsc -p tsconfig.vite-config.json --composite false --noEmit",
|
|
|
|
"typecheck:vitest": "vue-tsc -p tsconfig.vitest.json --composite false --noEmit",
|
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",
|
2022-04-08 14:17:44 +08:00
|
|
|
"stub": "pnpm run -r --parallel stub",
|
2024-02-23 09:10:20 +08:00
|
|
|
"prepare": "husky",
|
2022-04-14 11:47:28 +08:00
|
|
|
"postinstall": "pnpm stub && concurrently \"pnpm gen:version\" \"pnpm run -C internal/metadata dev\""
|
2020-07-21 18:18:44 +08:00
|
|
|
},
|
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:*",
|
2023-11-27 16:27:16 +08:00
|
|
|
"@element-plus/icons-vue": "^2.3.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/utils": "workspace:*",
|
2022-08-28 01:22:59 +08:00
|
|
|
"@floating-ui/dom": "^1.0.1",
|
2022-05-17 21:46:20 +08:00
|
|
|
"@popperjs/core": "npm:@sxzz/popperjs-es@^2.11.7",
|
2022-04-19 08:45:52 +08:00
|
|
|
"@types/lodash": "^4.14.182",
|
2022-04-08 00:37:46 +08:00
|
|
|
"@types/lodash-es": "^4.17.6",
|
2022-08-13 14:43:58 +08:00
|
|
|
"@vueuse/core": "^9.1.0",
|
2022-06-28 06:34:17 +08:00
|
|
|
"async-validator": "^4.2.5",
|
2022-06-08 01:36:24 +08:00
|
|
|
"dayjs": "^1.11.3",
|
2022-03-11 15:05:29 +08:00
|
|
|
"escape-html": "^1.0.3",
|
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",
|
2022-07-27 09:25:04 +08:00
|
|
|
"normalize-wheel-es": "^1.2.0"
|
2021-09-05 21:42:37 +08:00
|
|
|
},
|
2020-07-21 18:18:44 +08:00
|
|
|
"devDependencies": {
|
2022-06-28 06:34:17 +08:00
|
|
|
"@commitlint/cli": "^17.0.3",
|
|
|
|
"@commitlint/config-conventional": "^17.0.3",
|
2022-03-15 19:23:38 +08:00
|
|
|
"@element-plus/build": "workspace:^0.0.1",
|
2022-04-09 04:32:01 +08:00
|
|
|
"@element-plus/build-utils": "workspace:^0.0.1",
|
2022-03-10 15:39:13 +08:00
|
|
|
"@element-plus/eslint-config": "workspace:*",
|
2022-06-28 06:34:17 +08:00
|
|
|
"@esbuild-kit/cjs-loader": "^2.2.1",
|
|
|
|
"@pnpm/find-workspace-packages": "^4.0.16",
|
2022-02-21 15:35:45 +08:00
|
|
|
"@pnpm/logger": "^4.0.0",
|
2022-06-28 06:34:17 +08:00
|
|
|
"@pnpm/types": "^8.4.0",
|
2022-02-21 15:35:45 +08:00
|
|
|
"@types/fs-extra": "^9.0.13",
|
|
|
|
"@types/gulp": "^4.0.9",
|
2022-05-24 22:54:34 +08:00
|
|
|
"@types/jsdom": "^16.2.14",
|
2024-04-11 17:48:34 +08:00
|
|
|
"@types/node": "^18.19.25",
|
2022-02-21 15:35:45 +08:00
|
|
|
"@types/sass": "^1.43.1",
|
2022-05-17 21:46:20 +08:00
|
|
|
"@vitejs/plugin-vue": "^2.3.3",
|
2022-04-19 08:45:52 +08:00
|
|
|
"@vitejs/plugin-vue-jsx": "^1.3.10",
|
2024-08-31 16:18:56 +08:00
|
|
|
"@vitest/coverage-v8": "^2.0.5",
|
|
|
|
"@vitest/ui": "^2.0.5",
|
2022-05-25 12:05:50 +08:00
|
|
|
"@vue/test-utils": "^2.0.0",
|
|
|
|
"@vue/tsconfig": "^0.1.3",
|
2022-05-17 21:46:20 +08:00
|
|
|
"c8": "^7.11.3",
|
2022-05-24 19:31:16 +08:00
|
|
|
"chalk": "^5.0.1",
|
2022-06-28 06:34:17 +08:00
|
|
|
"concurrently": "^7.2.2",
|
2022-03-15 19:23:38 +08:00
|
|
|
"consola": "^2.15.3",
|
2022-04-01 10:33:16 +08:00
|
|
|
"csstype": "^2.6.20",
|
2022-06-28 06:34:17 +08:00
|
|
|
"cz-git": "^1.3.8",
|
2022-06-28 16:31:15 +08:00
|
|
|
"czg": "^1.3.8",
|
2022-06-28 06:34:17 +08:00
|
|
|
"eslint": "^8.18.0",
|
2022-06-08 01:36:24 +08:00
|
|
|
"eslint-define-config": "^1.5.1",
|
2022-02-21 15:35:45 +08:00
|
|
|
"expect-type": "^0.13.0",
|
|
|
|
"fast-glob": "^3.2.11",
|
2024-04-11 17:48:34 +08:00
|
|
|
"happy-dom": "^14.3.3",
|
2024-02-23 09:10:20 +08:00
|
|
|
"husky": "^9.0.11",
|
2022-05-20 17:41:27 +08:00
|
|
|
"jsdom": "16.4.0",
|
2022-06-28 06:34:17 +08:00
|
|
|
"lint-staged": "^13.0.3",
|
2024-04-27 12:10:45 +08:00
|
|
|
"npm-run-all2": "^5.0.0",
|
2022-06-28 06:34:17 +08:00
|
|
|
"prettier": "^2.7.1",
|
2022-09-08 23:44:36 +08:00
|
|
|
"puppeteer": "^17.1.3",
|
2022-02-21 15:35:45 +08:00
|
|
|
"resize-observer-polyfill": "^1.5.1",
|
|
|
|
"rimraf": "^3.0.2",
|
2022-06-28 06:34:17 +08:00
|
|
|
"sass": "^1.53.0",
|
2024-04-11 17:48:34 +08:00
|
|
|
"tsx": "^4.7.1",
|
2022-06-28 06:34:17 +08:00
|
|
|
"type-fest": "^2.14.0",
|
|
|
|
"typescript": "^4.7.4",
|
2022-04-19 08:45:52 +08:00
|
|
|
"unplugin-element-plus": "^0.4.0",
|
2024-04-11 17:48:34 +08:00
|
|
|
"unplugin-vue-macros": "^2.7.11",
|
2024-08-31 16:18:56 +08:00
|
|
|
"vitest": "^2.0.5",
|
2022-06-08 01:36:24 +08:00
|
|
|
"vue": "^3.2.37",
|
2022-06-15 01:48:52 +08:00
|
|
|
"vue-router": "^4.0.16",
|
2024-08-07 12:01:46 +08:00
|
|
|
"vue-tsc": "^1.8.27"
|
2022-02-22 15:28:02 +08:00
|
|
|
},
|
2022-04-09 04:32:01 +08:00
|
|
|
"engines": {
|
2024-04-11 17:48:34 +08:00
|
|
|
"node": ">= 18"
|
2022-04-09 04:32:01 +08:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"commitizen": {
|
2022-06-08 02:10:21 +08:00
|
|
|
"path": "./node_modules/cz-git"
|
2022-04-09 04:32:01 +08:00
|
|
|
}
|
|
|
|
},
|
2022-02-22 15:28:02 +08:00
|
|
|
"pnpm": {
|
2022-05-20 17:41:27 +08:00
|
|
|
"peerDependencyRules": {
|
|
|
|
"ignoreMissing": [
|
|
|
|
"vite",
|
|
|
|
"react",
|
|
|
|
"react-dom"
|
|
|
|
]
|
2024-05-20 12:22:56 +08:00
|
|
|
},
|
|
|
|
"patchedDependencies": {
|
|
|
|
"async-validator@4.2.5": "patches/async-validator@4.2.5.patch"
|
2022-02-22 15:28:02 +08:00
|
|
|
}
|
2022-04-09 04:32:01 +08:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{vue,js,ts,jsx,tsx,md,json}": "eslint --fix"
|
2022-05-20 17:41:27 +08:00
|
|
|
}
|
2020-07-21 18:18:44 +08:00
|
|
|
}
|