element-plus/package.json

142 lines
4.8 KiB
JSON
Raw Normal View History

2020-07-21 18:18:44 +08:00
{
2020-09-15 18:25:32 +08:00
"private": true,
"packageManager": "pnpm@7.1.0",
"workspaces": [
"packages/*",
"play",
"docs"
],
2020-07-21 18:18:44 +08:00
"scripts": {
"cz": "git-cz",
"test": "vitest",
"test:coverage": "vitest --coverage",
2022-05-02 15:15:22 +08:00
"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",
2022-05-02 14:51:59 +08:00
"clean": "pnpm run clean:dist && pnpm run -r --parallel clean",
"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",
"format": "prettier --write .",
"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",
"lint:commit": "commitlint --from $(git merge-base origin/dev HEAD) --to HEAD > ./commit-lint.txt",
"typecheck": "run-p typecheck:node typecheck:vite-config",
"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",
2021-09-18 13:46:40 +08:00
"prepare": "husky install",
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": {
"vue": "^3.2.0"
2020-07-21 18:18:44 +08:00
},
"dependencies": {
"@element-plus/components": "workspace:*",
"@element-plus/constants": "workspace:*",
"@element-plus/directives": "workspace:*",
"@element-plus/hooks": "workspace:*",
"@element-plus/icons-vue": "^2.0.1",
"@element-plus/locale": "workspace:*",
"@element-plus/test-utils": "workspace:*",
"@element-plus/theme-chalk": "workspace:*",
"@element-plus/tokens": "workspace:*",
"@element-plus/utils": "workspace:*",
"@floating-ui/dom": "^0.5.0",
"@popperjs/core": "npm:@sxzz/popperjs-es@^2.11.7",
"@types/lodash": "^4.14.182",
"@types/lodash-es": "^4.17.6",
"@vueuse/core": "^8.5.0",
"async-validator": "^4.1.1",
"dayjs": "^1.11.2",
"escape-html": "^1.0.3",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"lodash-unified": "^1.0.2",
2021-10-22 12:35:28 +08:00
"memoize-one": "^6.0.0",
"normalize-wheel-es": "^1.1.2"
},
2020-07-21 18:18:44 +08:00
"devDependencies": {
"@commitlint/cli": "^17.0.1",
"@commitlint/config-conventional": "^17.0.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.5",
2022-02-21 15:35:45 +08:00
"@pnpm/logger": "^4.0.0",
"@pnpm/types": "^8.0.1",
2022-02-21 15:35:45 +08:00
"@types/fs-extra": "^9.0.13",
"@types/gulp": "^4.0.9",
"@types/jsdom": "^16.2.14",
"@types/node": "*",
2022-02-21 15:35:45 +08:00
"@types/sass": "^1.43.1",
"@vitejs/plugin-vue": "^2.3.3",
"@vitejs/plugin-vue-jsx": "^1.3.10",
"@vitest/ui": "^0.12.6",
2022-05-25 12:05:50 +08:00
"@vue/test-utils": "^2.0.0",
"@vue/tsconfig": "^0.1.3",
"c8": "^7.11.3",
"chalk": "^5.0.1",
"concurrently": "^7.2.0",
"consola": "^2.15.3",
"csstype": "^2.6.20",
2022-02-21 15:35:45 +08:00
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.15.0",
"eslint-define-config": "^1.4.1",
2022-02-21 15:35:45 +08:00
"expect-type": "^0.13.0",
"fast-glob": "^3.2.11",
"husky": "^8.0.1",
2022-05-20 17:41:27 +08:00
"jsdom": "16.4.0",
"lint-staged": "^12.4.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.2",
2022-02-21 15:35:45 +08:00
"pretty-quick": "^3.1.3",
"puppeteer": "^14.1.1",
2022-02-21 15:35:45 +08:00
"resize-observer-polyfill": "^1.5.1",
"rimraf": "^3.0.2",
"sass": "^1.51.0",
"ts-morph": "^14.0.0",
"tsx": "^3.4.0",
"type-fest": "^2.12.2",
"typescript": "^4.6.4",
"unplugin-element-plus": "^0.4.0",
"unplugin-vue-define-options": "^0.6.1",
"vitest": "^0.12.6",
2022-05-20 17:41:27 +08:00
"vue": "^3.2.33",
"vue-router": "^4.0.15",
"vue-tsc": "^0.34.15"
2022-02-22 15:28:02 +08:00
},
"engines": {
"node": ">= 16"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
2022-02-22 15:28:02 +08:00
"pnpm": {
2022-05-20 17:41:27 +08:00
"peerDependencyRules": {
"ignoreMissing": [
"vite",
"react",
"react-dom"
]
2022-02-22 15:28:02 +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
}