package.json 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. {
  2. "name": "vben-admin",
  3. "version": "2.3.0",
  4. "author": {
  5. "name": "vben",
  6. "email": "anncwb@126.com",
  7. "url": "https://github.com/anncwb"
  8. },
  9. "scripts": {
  10. "bootstrap": "yarn install",
  11. "serve": "npm run dev",
  12. "dev": "cross-env --max_old_space_size=4096 vite",
  13. "build": "vite build && esno ./build/script/postBuild.ts",
  14. "build:no-cache": "yarn clean:cache && npm run build",
  15. "report": "cross-env REPORT=true npm run build",
  16. "type:check": "vue-tsc --noEmit --skipLibCheck",
  17. "preview": "npm run build && vite preview",
  18. "preview:dist": "vite preview",
  19. "log": "conventional-changelog -p angular -i CHANGELOG.md -s",
  20. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
  21. "clean:lib": "rimraf node_modules",
  22. "lint:eslint": "eslint \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  23. "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  24. "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  25. "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
  26. "lint:pretty": "pretty-quick --staged",
  27. "test:gzip": "http-server dist --cors --gzip -c-1",
  28. "test:br": "http-server dist --cors --brotli -c-1",
  29. "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
  30. "install:husky": "is-ci || husky install",
  31. "gen:icon": "esno ./build/generate/icon/index.ts",
  32. "postinstall": "npm run install:husky"
  33. },
  34. "dependencies": {
  35. "@iconify/iconify": "^2.0.1",
  36. "@logicflow/core": "^0.4.8",
  37. "@logicflow/extension": "^0.4.8",
  38. "@vueuse/core": "^4.11.1",
  39. "@zxcvbn-ts/core": "^0.3.0",
  40. "ant-design-vue": "2.1.2",
  41. "axios": "^0.21.1",
  42. "codemirror": "^5.61.1",
  43. "cropperjs": "^1.5.11",
  44. "crypto-js": "^4.0.0",
  45. "echarts": "^5.1.1",
  46. "lodash-es": "^4.17.21",
  47. "mockjs": "^1.1.0",
  48. "nprogress": "^0.2.0",
  49. "path-to-regexp": "^6.2.0",
  50. "pinia": "2.0.0-alpha.13",
  51. "print-js": "^1.6.0",
  52. "qrcode": "^1.4.4",
  53. "sortablejs": "^1.13.0",
  54. "tinymce": "^5.8.1",
  55. "vditor": "^3.8.5",
  56. "vue": "3.0.11",
  57. "vue-i18n": "9.0.0",
  58. "vue-json-pretty": "^2.0.2",
  59. "vue-router": "^4.0.8",
  60. "vue-types": "^3.0.2",
  61. "xlsx": "^0.17.0"
  62. },
  63. "devDependencies": {
  64. "@commitlint/cli": "^12.1.4",
  65. "@commitlint/config-conventional": "^12.1.4",
  66. "@iconify/json": "^1.1.348",
  67. "@purge-icons/generated": "^0.7.0",
  68. "@types/codemirror": "^5.60.0",
  69. "@types/crypto-js": "^4.0.1",
  70. "@types/fs-extra": "^9.0.11",
  71. "@types/inquirer": "^7.3.1",
  72. "@types/lodash-es": "^4.17.4",
  73. "@types/mockjs": "^1.0.3",
  74. "@types/nprogress": "^0.2.0",
  75. "@types/qrcode": "^1.4.0",
  76. "@types/qs": "^6.9.6",
  77. "@types/sortablejs": "^1.10.6",
  78. "@typescript-eslint/eslint-plugin": "^4.25.0",
  79. "@typescript-eslint/parser": "^4.25.0",
  80. "@vitejs/plugin-legacy": "^1.4.0",
  81. "@vitejs/plugin-vue": "^1.2.2",
  82. "@vitejs/plugin-vue-jsx": "^1.1.4",
  83. "@vue/compiler-sfc": "3.0.11",
  84. "autoprefixer": "^10.2.5",
  85. "commitizen": "^4.2.4",
  86. "conventional-changelog-cli": "^2.1.1",
  87. "cross-env": "^7.0.3",
  88. "dotenv": "^10.0.0",
  89. "eslint": "^7.27.0",
  90. "eslint-config-prettier": "^8.3.0",
  91. "eslint-define-config": "^1.0.8",
  92. "eslint-plugin-prettier": "^3.4.0",
  93. "eslint-plugin-vue": "^7.9.0",
  94. "esno": "^0.5.0",
  95. "fs-extra": "^10.0.0",
  96. "http-server": "^0.12.3",
  97. "husky": "^6.0.0",
  98. "inquirer": "^8.1.0",
  99. "is-ci": "^3.0.0",
  100. "less": "^4.1.1",
  101. "lint-staged": "^11.0.0",
  102. "postcss": "^8.3.0",
  103. "prettier": "^2.3.0",
  104. "pretty-quick": "^3.1.0",
  105. "rimraf": "^3.0.2",
  106. "rollup-plugin-visualizer": "5.5.0",
  107. "stylelint": "^13.13.1",
  108. "stylelint-config-prettier": "^8.0.2",
  109. "stylelint-config-standard": "^22.0.0",
  110. "stylelint-order": "^4.1.0",
  111. "ts-node": "^10.0.0",
  112. "typescript": "4.2.4",
  113. "vite": "2.3.4",
  114. "vite-plugin-compression": "^0.2.5",
  115. "vite-plugin-html": "^2.0.7",
  116. "vite-plugin-imagemin": "^0.3.2",
  117. "vite-plugin-mock": "^2.5.4",
  118. "vite-plugin-purge-icons": "^0.7.0",
  119. "vite-plugin-pwa": "^0.7.3",
  120. "vite-plugin-style-import": "^0.10.1",
  121. "vite-plugin-svg-icons": "^0.6.1",
  122. "vite-plugin-theme": "^0.7.1",
  123. "vite-plugin-windicss": "0.16.0",
  124. "vue-eslint-parser": "^7.6.0",
  125. "vue-tsc": "^0.1.6"
  126. },
  127. "resolutions": {
  128. "//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it",
  129. "bin-wrapper": "npm:bin-wrapper-china",
  130. "rollup": "^2.50.0"
  131. },
  132. "repository": {
  133. "type": "git",
  134. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  135. },
  136. "license": "MIT",
  137. "bugs": {
  138. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  139. },
  140. "homepage": "https://github.com/anncwb/vue-vben-admin",
  141. "engines": {
  142. "node": "^12 || >=14"
  143. }
  144. }