Files
element-plus/package.json
2025-12-16 01:36:16 +00:00

123 lines
4.3 KiB
JSON

{
"private": true,
"packageManager": "pnpm@10.18.2",
"workspaces": [
"packages/*",
"play",
"docs"
],
"scripts": {
"cz": "czg",
"test": "vitest",
"test:coverage": "vitest --coverage",
"test:ssr": "vitest --config ./ssr-testing/vitest.config.ts",
"prepare:e2e": "if [ ! -d \"docs/.vitepress/dist\" ]; then pnpm run docs:build; fi;",
"dev": "pnpm -C play dev",
"gen": "bash ./scripts/gc.sh",
"gen:version": "tsx scripts/gen-version.ts",
"diff:table": "tsx scripts/build-table.ts",
"update:version": "tsx scripts/update-version.ts",
"locale:sync": "tsx scripts/sync-locale.ts && pnpm run locale:lint",
"locale:lint": "eslint --ext .ts --max-warnings 0 --cache --fix packages/locale/lang",
"clean": "pnpm run clean:dist && pnpm run -r --parallel clean",
"clean:dist": "rimraf dist",
"build": "pnpm run -C internal/build start",
"build:theme": "pnpm run -C packages/theme-chalk build",
"format": "prettier --write --experimental-cli .",
"lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 --cache --concurrency=auto",
"lint:fix": "pnpm run lint --fix",
"lint:commit": "commitlint",
"typecheck": "pnpm run \"/^typecheck:/\"",
"typecheck:web": "vue-tsc -p tsconfig.web.json --composite false --noEmit",
"typecheck:play": "vue-tsc -p tsconfig.play.json --composite false --noEmit",
"typecheck:node": "tsc -p tsconfig.node.json --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",
"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",
"stub": "pnpm run -r --parallel stub",
"prepare": "husky",
"postinstall": "pnpm stub && pnpm gen:version & pnpm run -C internal/metadata dev &"
},
"dependencies": {
"@element-plus/components": "workspace:*",
"@element-plus/constants": "workspace:*",
"@element-plus/directives": "workspace:*",
"@element-plus/hooks": "workspace:*",
"@element-plus/icons-vue": "^2.3.2",
"@element-plus/locale": "workspace:*",
"@element-plus/test-utils": "workspace:*",
"@element-plus/theme-chalk": "workspace:*",
"@element-plus/utils": "workspace:*",
"@floating-ui/dom": "^1.0.1",
"@popperjs/core": "npm:@sxzz/popperjs-es@^2.11.7",
"@types/lodash": "^4.17.20",
"@types/lodash-es": "^4.17.12",
"@vueuse/core": "catalog:",
"async-validator": "^4.2.5",
"dayjs": "^1.11.19",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"lodash-unified": "^1.0.3",
"memoize-one": "^6.0.0",
"normalize-wheel-es": "^1.2.0"
},
"devDependencies": {
"@commitlint/cli": "^20.2.0",
"@commitlint/config-conventional": "^20.2.0",
"@element-plus/build": "workspace:^0.0.1",
"@element-plus/build-utils": "workspace:^0.0.1",
"@element-plus/eslint-config": "workspace:*",
"@pnpm/find-workspace-packages": "^4.0.16",
"@pnpm/logger": "^4.0.0",
"@pnpm/types": "^8.4.0",
"@types/fs-extra": "^9.0.13",
"@types/gulp": "^4.0.9",
"@types/jsdom": "^16.2.14",
"@types/node": "^22.9.0",
"@vitest/coverage-v8": "^2.0.5",
"@vitest/ui": "^2.0.5",
"@vue/server-renderer": "catalog:",
"c8": "^10.1.3",
"chalk": "^5.0.1",
"consola": "^2.15.3",
"cz-git": "^1.11.1",
"czg": "^1.11.1",
"eslint": "^9.37.0",
"expect-type": "^0.13.0",
"happy-dom": "^17.4.4",
"husky": "^9.0.11",
"jsdom": "16.4.0",
"lint-staged": "^15.5.1",
"prettier": "^3.6.2",
"puppeteer": "^24.26.1",
"resize-observer-polyfill": "^1.5.1",
"rimraf": "^4.4.1",
"sass": "^1.79.3",
"tinyglobby": "^0.2.15",
"tsx": "^4.19.3",
"typescript": "~5.5.4",
"vitest": "^2.0.5",
"vue": "catalog:",
"vue-router": "^4.0.16",
"vue-tsc": "=3.1.0"
},
"engines": {
"node": ">= 20"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-git"
}
},
"lint-staged": {
"*.{vue,js,ts,jsx,tsx,md,json,scss}": [
"eslint --fix --concurrency=auto",
"prettier --write --experimental-cli"
]
}
}