package.json 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. {
  2. "name": "vben-admin",
  3. "version": "2.6.1",
  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": "vite",
  13. "build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
  14. "build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts",
  15. "build:no-cache": "yarn clean:cache && npm run build",
  16. "report": "cross-env REPORT=true npm run build",
  17. "type:check": "vue-tsc --noEmit --skipLibCheck",
  18. "preview": "npm run build && vite preview",
  19. "preview:dist": "vite preview",
  20. "log": "conventional-changelog -p angular -i CHANGELOG.md -s",
  21. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
  22. "clean:lib": "rimraf node_modules",
  23. "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  24. "lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  25. "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  26. "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
  27. "lint:pretty": "pretty-quick --staged",
  28. "test:unit": "jest",
  29. "test:unit-coverage": "jest --coverage",
  30. "test:gzip": "http-server dist --cors --gzip -c-1",
  31. "test:br": "http-server dist --cors --brotli -c-1",
  32. "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
  33. "prepare": "husky install",
  34. "gen:icon": "esno ./build/generate/icon/index.ts"
  35. },
  36. "dependencies": {
  37. "@iconify/iconify": "^2.0.3",
  38. "@logicflow/core": "^0.6.4",
  39. "@logicflow/extension": "^0.6.4",
  40. "@vueuse/core": "^5.2.0",
  41. "@zxcvbn-ts/core": "^1.0.0-beta.0",
  42. "ant-design-vue": "2.2.2",
  43. "axios": "^0.21.1",
  44. "codemirror": "^5.62.2",
  45. "cropperjs": "^1.5.12",
  46. "crypto-js": "^4.1.1",
  47. "echarts": "^5.1.2",
  48. "intro.js": "^4.1.0",
  49. "lodash-es": "^4.17.21",
  50. "mockjs": "^1.1.0",
  51. "nprogress": "^0.2.0",
  52. "path-to-regexp": "^6.2.0",
  53. "pinia": "2.0.0-beta.5",
  54. "print-js": "^1.6.0",
  55. "qrcode": "^1.4.4",
  56. "resize-observer-polyfill": "^1.5.1",
  57. "sortablejs": "^1.14.0",
  58. "tinymce": "^5.8.2",
  59. "vditor": "^3.8.6",
  60. "vue": "3.1.5",
  61. "vue-i18n": "9.1.7",
  62. "vue-json-pretty": "^2.0.2",
  63. "vue-router": "^4.0.10",
  64. "vue-types": "^4.0.1",
  65. "xlsx": "^0.17.0"
  66. },
  67. "devDependencies": {
  68. "@commitlint/cli": "^13.1.0",
  69. "@commitlint/config-conventional": "^13.1.0",
  70. "@iconify/json": "^1.1.380",
  71. "@purge-icons/generated": "^0.7.0",
  72. "@types/codemirror": "^5.60.2",
  73. "@types/crypto-js": "^4.0.2",
  74. "@types/fs-extra": "^9.0.12",
  75. "@types/inquirer": "^7.3.3",
  76. "@types/intro.js": "^3.0.2",
  77. "@types/jest": "^26.0.24",
  78. "@types/lodash-es": "^4.17.4",
  79. "@types/mockjs": "^1.0.4",
  80. "@types/node": "^16.4.6",
  81. "@types/nprogress": "^0.2.0",
  82. "@types/qrcode": "^1.4.1",
  83. "@types/qs": "^6.9.7",
  84. "@types/sortablejs": "^1.10.7",
  85. "@typescript-eslint/eslint-plugin": "^4.28.5",
  86. "@typescript-eslint/parser": "^4.28.5",
  87. "@vitejs/plugin-legacy": "^1.5.0",
  88. "@vitejs/plugin-vue": "^1.3.0",
  89. "@vitejs/plugin-vue-jsx": "^1.1.7",
  90. "@vue/compiler-sfc": "3.1.5",
  91. "@vue/test-utils": "^2.0.0-rc.12",
  92. "autoprefixer": "^10.3.1",
  93. "commitizen": "^4.2.4",
  94. "conventional-changelog-cli": "^2.1.1",
  95. "cross-env": "^7.0.3",
  96. "dotenv": "^10.0.0",
  97. "eslint": "^7.31.0",
  98. "eslint-config-prettier": "^8.3.0",
  99. "eslint-define-config": "^1.0.9",
  100. "eslint-plugin-jest": "^24.4.0",
  101. "eslint-plugin-prettier": "^3.4.0",
  102. "eslint-plugin-vue": "^7.14.0",
  103. "esno": "^0.8.0",
  104. "fs-extra": "^10.0.0",
  105. "http-server": "^0.12.3",
  106. "husky": "^7.0.1",
  107. "inquirer": "^8.1.2",
  108. "is-ci": "^3.0.0",
  109. "jest": "^27.0.6",
  110. "less": "^4.1.1",
  111. "lint-staged": "^11.1.1",
  112. "npm-run-all": "^4.1.5",
  113. "postcss": "^8.3.6",
  114. "prettier": "^2.3.2",
  115. "pretty-quick": "^3.1.1",
  116. "rimraf": "^3.0.2",
  117. "rollup-plugin-visualizer": "5.5.2",
  118. "stylelint": "^13.13.1",
  119. "stylelint-config-prettier": "^8.0.2",
  120. "stylelint-config-standard": "^22.0.0",
  121. "stylelint-order": "^4.1.0",
  122. "tailwindcss": "^2.2.7",
  123. "ts-jest": "^27.0.4",
  124. "ts-node": "^10.1.0",
  125. "typescript": "4.3.5",
  126. "vite": "2.4.4",
  127. "vite-plugin-compression": "^0.3.1",
  128. "vite-plugin-html": "^2.0.7",
  129. "vite-plugin-imagemin": "^0.4.1",
  130. "vite-plugin-mock": "^2.9.3",
  131. "vite-plugin-purge-icons": "^0.7.0",
  132. "vite-plugin-pwa": "^0.8.2",
  133. "vite-plugin-style-import": "^1.0.1",
  134. "vite-plugin-svg-icons": "^1.0.1",
  135. "vite-plugin-theme": "^0.8.1",
  136. "vue-eslint-parser": "^7.10.0",
  137. "vue-tsc": "^0.2.2"
  138. },
  139. "resolutions": {
  140. "//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it",
  141. "bin-wrapper": "npm:bin-wrapper-china",
  142. "rollup": "^2.55.0"
  143. },
  144. "repository": {
  145. "type": "git",
  146. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  147. },
  148. "license": "MIT",
  149. "bugs": {
  150. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  151. },
  152. "homepage": "https://github.com/anncwb/vue-vben-admin",
  153. "engines": {
  154. "node": "^12 || >=14"
  155. }
  156. }