package.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "@element-plus/icons-vue",
  3. "version": "2.3.1",
  4. "description": "Vue components of Element Plus Icons collection.",
  5. "type": "module",
  6. "keywords": [
  7. "icon",
  8. "svg",
  9. "vue",
  10. "element-plus"
  11. ],
  12. "license": "MIT",
  13. "homepage": "https://element-plus.org/",
  14. "bugs": {
  15. "url": "https://github.com/element-plus/element-plus-icons/issues"
  16. },
  17. "repository": {
  18. "type": "git",
  19. "url": "git+https://github.com/element-plus/element-plus-icons.git",
  20. "directory": "packages/vue"
  21. },
  22. "files": [
  23. "dist"
  24. ],
  25. "main": "./dist/index.cjs",
  26. "module": "./dist/index.js",
  27. "types": "./dist/types/index.d.ts",
  28. "exports": {
  29. ".": {
  30. "types": "./dist/types/index.d.ts",
  31. "require": "./dist/index.cjs",
  32. "import": "./dist/index.js"
  33. },
  34. "./global": {
  35. "types": "./dist/types/global.d.ts",
  36. "require": "./dist/global.cjs",
  37. "import": "./dist/global.js"
  38. },
  39. "./*": "./*"
  40. },
  41. "typesVersions": {
  42. "*": {
  43. "*": [
  44. "./*",
  45. "./dist/types/*"
  46. ]
  47. }
  48. },
  49. "sideEffects": false,
  50. "unpkg": "dist/index.iife.min.js",
  51. "jsdelivr": "dist/index.iife.min.js",
  52. "peerDependencies": {
  53. "vue": "^3.2.0"
  54. },
  55. "devDependencies": {
  56. "@pnpm/find-workspace-dir": "^6.0.2",
  57. "@pnpm/find-workspace-packages": "^6.0.9",
  58. "@pnpm/logger": "^5.0.0",
  59. "@types/fs-extra": "^11.0.4",
  60. "@types/node": "^20.10.0",
  61. "@types/prettier": "^3.0.0",
  62. "camelcase": "^8.0.0",
  63. "chalk": "^5.3.0",
  64. "consola": "^3.2.3",
  65. "esbuild": "^0.19.8",
  66. "esbuild-plugin-globals": "^0.2.0",
  67. "fast-glob": "^3.3.2",
  68. "fs-extra": "^11.1.1",
  69. "npm-run-all": "^4.1.5",
  70. "prettier": "^3.1.0",
  71. "tsx": "^4.5.0",
  72. "typescript": "^5.3.2",
  73. "unplugin-vue": "^4.5.0",
  74. "vue": "^3.3.9",
  75. "vue-tsc": "^1.8.22",
  76. "@element-plus/icons-svg": "2.3.1"
  77. },
  78. "scripts": {
  79. "build": "pnpm run build:generate && run-p build:build build:types",
  80. "build:generate": "tsx build/generate.ts",
  81. "build:build": "NODE_ENV=production tsx build/build.ts",
  82. "build:types": "vue-tsc --declaration --emitDeclarationOnly"
  83. }
  84. }