package.json 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. {
  2. "name": "vben-admin",
  3. "version": "2.4.1",
  4. "author": {
  5. "name": "vben",
  6. "email": "anncwb@126.com",
  7. "url": "https://github.com/anncwb"
  8. },
  9. "build": {
  10. "appId": "xxx@gmail.com",
  11. "electronDownload": {
  12. "mirror": "https://npm.taobao.org/mirrors/electron/"
  13. },
  14. "files": [
  15. "!node_modules",
  16. "dist/**"
  17. ],
  18. "asar": false,
  19. "mac": {
  20. "artifactName": "${productName}_setup_${version}.${ext}",
  21. "target": [
  22. "dmg"
  23. ]
  24. },
  25. "linux": {
  26. "icon": "build/icons/512x512.png",
  27. "target": [
  28. "deb"
  29. ]
  30. },
  31. "win": {
  32. "target": [
  33. {
  34. "target": "nsis",
  35. "arch": [
  36. "x64"
  37. ]
  38. }
  39. ],
  40. "artifactName": "${productName}_setup_${version}.${ext}"
  41. },
  42. "nsis": {
  43. "oneClick": false,
  44. "perMachine": false,
  45. "allowToChangeInstallationDirectory": true,
  46. "deleteAppDataOnUninstall": false
  47. }
  48. },
  49. "main": "dist/main/build.js",
  50. "scripts": {
  51. "dev": "vite",
  52. "app": "esno ./build/script/runApp.ts",
  53. "app:build": "npm run build && node script/build && electron-builder ",
  54. "app:vue": "vite --force",
  55. "app:ele": "node script/build --env=development --watch",
  56. "bootstrap": "yarn install",
  57. "serve": "npm run dev",
  58. "build": "vite build && esno ./build/script/postBuild.ts",
  59. "build:no-cache": "yarn clean:cache && npm run build",
  60. "report": "cross-env REPORT=true npm run build",
  61. "type:check": "vue-tsc --noEmit --skipLibCheck",
  62. "preview": "npm run build && vite preview",
  63. "preview:dist": "vite preview",
  64. "log": "conventional-changelog -p angular -i CHANGELOG.md -s",
  65. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
  66. "clean:lib": "rimraf node_modules",
  67. "lint:eslint": "eslint \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  68. "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  69. "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  70. "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
  71. "lint:pretty": "pretty-quick --staged",
  72. "test:gzip": "http-server dist --cors --gzip -c-1",
  73. "test:br": "http-server dist --cors --brotli -c-1",
  74. "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
  75. "install:husky": "is-ci || husky install",
  76. "gen:icon": "esno ./build/generate/icon/index.ts",
  77. "postinstall": "npm run install:husky"
  78. },
  79. "dependencies": {
  80. "electron-is-dev": "^1.2.0",
  81. "electron-store": "^6.0.0",
  82. "@iconify/iconify": "^2.0.1",
  83. "@logicflow/core": "^0.4.11",
  84. "@logicflow/extension": "^0.4.12",
  85. "@vueuse/core": "^4.11.2",
  86. "@zxcvbn-ts/core": "^0.3.0",
  87. "ant-design-vue": "2.1.2",
  88. "axios": "^0.21.1",
  89. "codemirror": "^5.61.1",
  90. "cropperjs": "^1.5.11",
  91. "crypto-js": "^4.0.0",
  92. "echarts": "^5.1.1",
  93. "lodash-es": "^4.17.21",
  94. "mockjs": "^1.1.0",
  95. "nprogress": "^0.2.0",
  96. "path-to-regexp": "^6.2.0",
  97. "pinia": "2.0.0-alpha.13",
  98. "print-js": "^1.6.0",
  99. "qrcode": "^1.4.4",
  100. "sortablejs": "^1.13.0",
  101. "tinymce": "^5.8.1",
  102. "vditor": "^3.8.5",
  103. "vue": "3.0.11",
  104. "vue-i18n": "9.1.6",
  105. "vue-json-pretty": "^2.0.2",
  106. "vue-router": "^4.0.8",
  107. "vue-types": "^3.0.2",
  108. "xlsx": "^0.17.0"
  109. },
  110. "devDependencies": {
  111. "rollup-plugin-esbuild": "^3.0.2",
  112. "@rollup/plugin-alias": "^3.1.1",
  113. "@rollup/plugin-commonjs": "^15.0.0",
  114. "@rollup/plugin-json": "^4.1.0",
  115. "@rollup/plugin-node-resolve": "^9.0.0",
  116. "wait-on": "^5.2.1",
  117. "electron-contextmenu-middleware": "^1.0.3",
  118. "electron-input-menu": "^2.1.0",
  119. "electron": "^11.0.0",
  120. "electron-builder": "^22.8.0",
  121. "electron-connect": "^0.6.3",
  122. "concurrently": "^5.3.0",
  123. "@commitlint/cli": "^12.1.4",
  124. "@commitlint/config-conventional": "^12.1.4",
  125. "@iconify/json": "^1.1.350",
  126. "@purge-icons/generated": "^0.7.0",
  127. "@types/codemirror": "^5.60.0",
  128. "@types/crypto-js": "^4.0.1",
  129. "@types/fs-extra": "^9.0.11",
  130. "@types/inquirer": "^7.3.1",
  131. "@types/lodash-es": "^4.17.4",
  132. "@types/mockjs": "^1.0.3",
  133. "@types/node": "^15.12.0",
  134. "@types/nprogress": "^0.2.0",
  135. "@types/qrcode": "^1.4.0",
  136. "@types/qs": "^6.9.6",
  137. "@types/sortablejs": "^1.10.6",
  138. "@typescript-eslint/eslint-plugin": "^4.26.0",
  139. "@typescript-eslint/parser": "^4.26.0",
  140. "@vitejs/plugin-legacy": "^1.4.1",
  141. "@vitejs/plugin-vue": "^1.2.3",
  142. "@vitejs/plugin-vue-jsx": "^1.1.5",
  143. "@vue/compiler-sfc": "3.0.11",
  144. "autoprefixer": "^10.2.6",
  145. "commitizen": "^4.2.4",
  146. "conventional-changelog-cli": "^2.1.1",
  147. "cross-env": "^7.0.3",
  148. "dotenv": "^10.0.0",
  149. "eslint": "^7.27.0",
  150. "eslint-config-prettier": "^8.3.0",
  151. "eslint-define-config": "^1.0.8",
  152. "eslint-plugin-prettier": "^3.4.0",
  153. "eslint-plugin-vue": "^7.10.0",
  154. "esno": "^0.6.0",
  155. "fs-extra": "^10.0.0",
  156. "http-server": "^0.12.3",
  157. "husky": "^6.0.0",
  158. "inquirer": "^8.1.0",
  159. "is-ci": "^3.0.0",
  160. "less": "^4.1.1",
  161. "lint-staged": "^11.0.0",
  162. "postcss": "^8.3.0",
  163. "prettier": "^2.3.0",
  164. "pretty-quick": "^3.1.0",
  165. "rimraf": "^3.0.2",
  166. "rollup-plugin-visualizer": "5.5.0",
  167. "stylelint": "^13.13.1",
  168. "stylelint-config-prettier": "^8.0.2",
  169. "stylelint-config-standard": "^22.0.0",
  170. "stylelint-order": "^4.1.0",
  171. "ts-node": "^10.0.0",
  172. "typescript": "4.3.2",
  173. "vite": "2.3.6",
  174. "vite-plugin-compression": "^0.2.5",
  175. "vite-plugin-html": "^2.0.7",
  176. "vite-plugin-imagemin": "^0.3.2",
  177. "vite-plugin-mock": "^2.7.0",
  178. "vite-plugin-purge-icons": "^0.7.0",
  179. "vite-plugin-pwa": "^0.7.3",
  180. "vite-plugin-style-import": "^0.10.1",
  181. "vite-plugin-svg-icons": "^0.7.0",
  182. "vite-plugin-theme": "^0.8.1",
  183. "vite-plugin-windicss": "^1.0.1",
  184. "vue-eslint-parser": "^7.6.0",
  185. "vue-tsc": "^0.1.7"
  186. },
  187. "resolutions": {
  188. "//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it",
  189. "bin-wrapper": "npm:bin-wrapper-china",
  190. "rollup": "^2.50.6"
  191. },
  192. "repository": {
  193. "type": "git",
  194. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  195. },
  196. "license": "MIT",
  197. "bugs": {
  198. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  199. },
  200. "homepage": "https://github.com/anncwb/vue-vben-admin",
  201. "engines": {
  202. "node": "^12 || >=14"
  203. }
  204. }