package.json 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. {
  2. "name": "vben-admin",
  3. "version": "2.8.0",
  4. "author": {
  5. "name": "vben",
  6. "email": "anncwb@126.com",
  7. "url": "https://github.com/anncwb"
  8. },
  9. "main": "dist/main/build.js",
  10. "build": {
  11. "appId": "xxx@gmail.com",
  12. "electronDownload": {
  13. "mirror": "https://npm.taobao.org/mirrors/electron/"
  14. },
  15. "files": [
  16. "!node_modules",
  17. "dist/**"
  18. ],
  19. "asar": false,
  20. "mac": {
  21. "artifactName": "${productName}_setup_${version}.${ext}",
  22. "target": [
  23. "dmg"
  24. ]
  25. },
  26. "linux": {
  27. "icon": "build/icons/512x512.png",
  28. "target": [
  29. "deb"
  30. ]
  31. },
  32. "win": {
  33. "target": [
  34. {
  35. "target": "nsis",
  36. "arch": [
  37. "x64"
  38. ]
  39. }
  40. ],
  41. "artifactName": "${productName}_setup_${version}.${ext}"
  42. },
  43. "nsis": {
  44. "oneClick": false,
  45. "perMachine": false,
  46. "allowToChangeInstallationDirectory": true,
  47. "deleteAppDataOnUninstall": false
  48. }
  49. },
  50. "scripts": {
  51. "bootstrap": "pnpm install",
  52. "serve": "npm run dev",
  53. "dev": "vite",
  54. "build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
  55. "build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts",
  56. "build:no-cache": "pnpm clean:cache && npm run build",
  57. "dev:app": "esno ./build/script/startElectron.ts --env=development --watch",
  58. "build:app": "npm run build && esno ./build/script/startElectron.ts --env=production && electron-builder ",
  59. "report": "cross-env REPORT=true npm run build",
  60. "type:check": "vue-tsc --noEmit --skipLibCheck",
  61. "preview": "npm run build && vite preview",
  62. "preview:dist": "vite preview",
  63. "log": "conventional-changelog -p angular -i CHANGELOG.md -s",
  64. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
  65. "clean:lib": "rimraf node_modules",
  66. "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  67. "lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  68. "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  69. "lint:lint-staged": "lint-staged",
  70. "test:unit": "jest",
  71. "test:gzip": "npx http-server dist --cors --gzip -c-1",
  72. "test:br": "npx http-server dist --cors --brotli -c-1",
  73. "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
  74. "prepare": "husky install",
  75. "gen:icon": "esno ./build/generate/icon/index.ts"
  76. },
  77. "dependencies": {
  78. "@ant-design/colors": "^6.0.0",
  79. "@ant-design/icons-vue": "^6.1.0",
  80. "@logicflow/core": "^0.6.16",
  81. "@logicflow/extension": "^0.6.16",
  82. "@iconify/iconify": "^2.2.1",
  83. "@vue/runtime-core": "^3.2.31",
  84. "@vue/shared": "^3.2.31",
  85. "@vueuse/core": "^6.3.3",
  86. "@vueuse/shared": "^6.3.3",
  87. "@zxcvbn-ts/core": "^2.0.1",
  88. "ant-design-vue": "3.1.1",
  89. "axios": "^0.21.4",
  90. "codemirror": "^5.62.3",
  91. "cropperjs": "^1.5.12",
  92. "electron-is-dev": "^1.2.0",
  93. "crypto-js": "^4.1.1",
  94. "dayjs": "^1.11.0",
  95. "echarts": "^5.2.0",
  96. "intro.js": "^4.2.2",
  97. "lodash-es": "^4.17.21",
  98. "mockjs": "^1.1.0",
  99. "nprogress": "^0.2.0",
  100. "path-to-regexp": "^6.2.0",
  101. "pinia": "2.0.12",
  102. "print-js": "^1.6.0",
  103. "qrcode": "^1.4.4",
  104. "qs": "^6.10.3",
  105. "resize-observer-polyfill": "^1.5.1",
  106. "showdown": "^1.9.1",
  107. "sortablejs": "^1.14.0",
  108. "tinymce": "^5.9.2",
  109. "vditor": "^3.8.13",
  110. "vue": "^3.2.31",
  111. "vue-i18n": "^9.1.9",
  112. "vue-json-pretty": "^2.0.6",
  113. "vue-router": "^4.0.14",
  114. "vue-types": "^4.1.1",
  115. "xlsx": "^0.18.5"
  116. },
  117. "devDependencies": {
  118. "@commitlint/cli": "^13.1.0",
  119. "@commitlint/config-conventional": "^13.1.0",
  120. "@iconify/json": "^1.1.401",
  121. "@purge-icons/generated": "^0.7.0",
  122. "@rollup/plugin-alias": "^3.1.1",
  123. "@rollup/plugin-commonjs": "^15.0.0",
  124. "@rollup/plugin-json": "^4.1.0",
  125. "@rollup/plugin-node-resolve": "^9.0.0",
  126. "@types/codemirror": "^5.60.2",
  127. "@types/crypto-js": "^4.0.2",
  128. "@types/fs-extra": "^9.0.12",
  129. "@types/inquirer": "^8.1.1",
  130. "@types/intro.js": "^3.0.2",
  131. "@types/jest": "^27.0.1",
  132. "@types/lodash-es": "^4.17.5",
  133. "@types/mockjs": "^1.0.4",
  134. "@types/node": "^16.9.1",
  135. "@types/nprogress": "^0.2.0",
  136. "@types/qrcode": "^1.4.1",
  137. "@types/qs": "^6.9.7",
  138. "@types/showdown": "^1.9.4",
  139. "@types/sortablejs": "^1.10.7",
  140. "@typescript-eslint/eslint-plugin": "^4.31.0",
  141. "@typescript-eslint/parser": "^4.31.0",
  142. "@vitejs/plugin-legacy": "^1.5.3",
  143. "@vitejs/plugin-vue": "^1.6.2",
  144. "@vitejs/plugin-vue-jsx": "^1.1.8",
  145. "@vue/compiler-sfc": "3.2.11",
  146. "@vue/test-utils": "^2.0.0-rc.14",
  147. "autoprefixer": "^10.3.4",
  148. "commitizen": "^4.2.4",
  149. "conventional-changelog-cli": "^2.1.1",
  150. "cross-env": "^7.0.3",
  151. "dotenv": "^10.0.0",
  152. "electron": "^18.0.0",
  153. "electron-builder": "^22.8.0",
  154. "electron-connect": "^0.6.3",
  155. "electron-contextmenu-middleware": "^1.0.3",
  156. "electron-input-menu": "^2.1.0",
  157. "eslint": "^7.32.0",
  158. "eslint-config-prettier": "^8.3.0",
  159. "eslint-define-config": "^1.0.9",
  160. "eslint-plugin-jest": "^24.4.0",
  161. "eslint-plugin-prettier": "^4.0.0",
  162. "eslint-plugin-vue": "^7.17.0",
  163. "esno": "^0.9.1",
  164. "fs-extra": "^10.0.0",
  165. "http-server": "^13.0.1",
  166. "husky": "^7.0.2",
  167. "inquirer": "^8.1.2",
  168. "is-ci": "^3.0.0",
  169. "jest": "^27.2.0",
  170. "less": "^4.1.1",
  171. "lint-staged": "12.3.7",
  172. "npm-run-all": "^4.1.5",
  173. "picocolors": "^1.0.0",
  174. "postcss": "^8.3.6",
  175. "postcss-html": "^1.3.0",
  176. "postcss-less": "^6.0.0",
  177. "prettier": "^2.4.0",
  178. "pretty-quick": "^3.1.1",
  179. "rimraf": "^3.0.2",
  180. "rollup-plugin-esbuild": "^3.0.2",
  181. "rollup-plugin-visualizer": "5.5.2",
  182. "stylelint": "^13.13.1",
  183. "stylelint-config-prettier": "^8.0.2",
  184. "stylelint-config-standard": "^22.0.0",
  185. "stylelint-order": "^4.1.0",
  186. "ts-jest": "^27.0.5",
  187. "ts-node": "^10.2.1",
  188. "typescript": "4.4.3",
  189. "vite": "^2.9.1",
  190. "vite-plugin-compression": "^0.3.5",
  191. "vite-plugin-html": "^3.2.0",
  192. "vite-plugin-imagemin": "^0.4.5",
  193. "vite-plugin-mkcert": "^1.6.0",
  194. "vite-plugin-mock": "^2.9.6",
  195. "vite-plugin-purge-icons": "^0.7.0",
  196. "vite-plugin-pwa": "^0.11.2",
  197. "vite-plugin-style-import": "^2.0.0",
  198. "vite-plugin-svg-icons": "^2.0.1",
  199. "vite-plugin-theme": "^0.8.1",
  200. "wait-on": "^5.2.1",
  201. "vite-plugin-vue-setup-extend": "^0.1.0",
  202. "vite-plugin-windicss": "^1.4.2",
  203. "vue-eslint-parser": "^7.11.0",
  204. "vue-tsc": "^0.3.0"
  205. },
  206. "resolutions": {
  207. "bin-wrapper": "npm:bin-wrapper-china",
  208. "rollup": "^2.56.3",
  209. "gifsicle": "5.2.0"
  210. },
  211. "repository": {
  212. "type": "git",
  213. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  214. },
  215. "license": "MIT",
  216. "bugs": {
  217. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  218. },
  219. "homepage": "https://github.com/anncwb/vue-vben-admin",
  220. "engines": {
  221. "node": "^12 || >=14"
  222. }
  223. }