mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-15 02:40:46 +08:00
4f380a6911
* chore: upgrade vitest * chore: update
146 lines
4.8 KiB
JSON
146 lines
4.8 KiB
JSON
{
|
|
"private": true,
|
|
"packageManager": "pnpm@8.14.1",
|
|
"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",
|
|
"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 --cache .",
|
|
"lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 --cache",
|
|
"lint:fix": "pnpm run lint --fix",
|
|
"lint:commit": "commitlint --from $(git merge-base origin/dev HEAD) --to HEAD > ./commit-lint.txt",
|
|
"typecheck": "run-p typecheck:web typecheck:play typecheck:node typecheck:vite-config typecheck:vitest",
|
|
"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",
|
|
"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 && concurrently \"pnpm gen:version\" \"pnpm run -C internal/metadata dev\""
|
|
},
|
|
"peerDependencies": {
|
|
"vue": "^3.2.0"
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/components": "workspace:*",
|
|
"@element-plus/constants": "workspace:*",
|
|
"@element-plus/directives": "workspace:*",
|
|
"@element-plus/hooks": "workspace:*",
|
|
"@element-plus/icons-vue": "^2.3.1",
|
|
"@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.14.182",
|
|
"@types/lodash-es": "^4.17.6",
|
|
"@vueuse/core": "^9.1.0",
|
|
"async-validator": "^4.2.5",
|
|
"dayjs": "^1.11.3",
|
|
"escape-html": "^1.0.3",
|
|
"lodash": "^4.17.21",
|
|
"lodash-es": "^4.17.21",
|
|
"lodash-unified": "^1.0.2",
|
|
"memoize-one": "^6.0.0",
|
|
"normalize-wheel-es": "^1.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^17.0.3",
|
|
"@commitlint/config-conventional": "^17.0.3",
|
|
"@element-plus/build": "workspace:^0.0.1",
|
|
"@element-plus/build-utils": "workspace:^0.0.1",
|
|
"@element-plus/eslint-config": "workspace:*",
|
|
"@esbuild-kit/cjs-loader": "^2.2.1",
|
|
"@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": "^18.19.25",
|
|
"@types/sass": "^1.43.1",
|
|
"@vitejs/plugin-vue": "^2.3.3",
|
|
"@vitejs/plugin-vue-jsx": "^1.3.10",
|
|
"@vitest/coverage-v8": "^2.0.5",
|
|
"@vitest/ui": "^2.0.5",
|
|
"@vue/test-utils": "^2.0.0",
|
|
"@vue/tsconfig": "^0.1.3",
|
|
"c8": "^7.11.3",
|
|
"chalk": "^5.0.1",
|
|
"concurrently": "^7.2.2",
|
|
"consola": "^2.15.3",
|
|
"csstype": "^2.6.20",
|
|
"cz-git": "^1.3.8",
|
|
"czg": "^1.3.8",
|
|
"eslint": "^8.18.0",
|
|
"eslint-define-config": "^1.5.1",
|
|
"expect-type": "^0.13.0",
|
|
"fast-glob": "^3.2.11",
|
|
"happy-dom": "^14.3.3",
|
|
"husky": "^9.0.11",
|
|
"jsdom": "16.4.0",
|
|
"lint-staged": "^13.0.3",
|
|
"npm-run-all2": "^5.0.0",
|
|
"prettier": "^2.7.1",
|
|
"puppeteer": "^17.1.3",
|
|
"resize-observer-polyfill": "^1.5.1",
|
|
"rimraf": "^3.0.2",
|
|
"sass": "^1.53.0",
|
|
"tsx": "^4.7.1",
|
|
"type-fest": "^2.14.0",
|
|
"typescript": "^4.7.4",
|
|
"unplugin-element-plus": "^0.4.0",
|
|
"unplugin-vue-macros": "^2.7.11",
|
|
"vitest": "^2.0.5",
|
|
"vue": "^3.2.37",
|
|
"vue-router": "^4.0.16",
|
|
"vue-tsc": "^1.8.27"
|
|
},
|
|
"engines": {
|
|
"node": ">= 18"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-git"
|
|
}
|
|
},
|
|
"pnpm": {
|
|
"peerDependencyRules": {
|
|
"ignoreMissing": [
|
|
"vite",
|
|
"react",
|
|
"react-dom"
|
|
]
|
|
},
|
|
"patchedDependencies": {
|
|
"async-validator@4.2.5": "patches/async-validator@4.2.5.patch"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{vue,js,ts,jsx,tsx,md,json}": "eslint --fix"
|
|
}
|
|
}
|