package.json 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. {
  2. "name": "tl-smart-admin",
  3. "version": "1.0.1",
  4. "author": {
  5. "name": "tl-smart-admin",
  6. "email": "learun@gmail.com",
  7. "url": "https://zhxy.cqtlzjzx.com"
  8. },
  9. "scripts": {
  10. "bootstrap": "pnpm install",
  11. "serve": "npm run dev",
  12. "serve:pre": "vite --mode production",
  13. "dev": "vite",
  14. "gapi": "node ./src/utils/gapi/index.js",
  15. "build": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 vite build && esno ./build/script/postBuild.ts",
  16. "build:test": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build --mode test && esno ./build/script/postBuild.ts",
  17. "build:no-cache": "pnpm clean:cache && npm run build",
  18. "report": "cross-env REPORT=true npm run build",
  19. "type:check": "vue-tsc --noEmit --skipLibCheck",
  20. "preview": "npm run build && vite preview",
  21. "preview:dist": "vite preview",
  22. "log": "conventional-changelog -p angular -i CHANGELOG.md -s",
  23. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
  24. "clean:lib": "rimraf node_modules",
  25. "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  26. "lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  27. "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  28. "lint:lint-staged": "lint-staged",
  29. "test:unit": "jest",
  30. "test:gzip": "npx http-server dist --cors --gzip -c-1",
  31. "test:br": "npx http-server dist --cors --brotli -c-1",
  32. "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
  33. "prepare": "husky install",
  34. "gen:icon": "esno ./build/generate/icon/index.ts",
  35. "git:dev": "make -f ./Makefile -C ./ pushDev",
  36. "git:pre": "make -f ./Makefile -C ./ pushPre",
  37. "git:all": "make -f ./Makefile -C ./ all",
  38. "git:master": "make -f ./Makefile -C ./ proToMaster"
  39. },
  40. "dependencies": {
  41. "@ant-design/colors": "^7.0.0",
  42. "@ant-design/icons-vue": "^6.1.0",
  43. "@iconify/iconify": "^3.1.0",
  44. "@logicflow/core": "^1.2.7",
  45. "@logicflow/extension": "^1.2.7",
  46. "@vue/runtime-core": "^3.3.4",
  47. "@vueuse/core": "^10.1.2",
  48. "@zxcvbn-ts/core": "^3.0.1",
  49. "ant-design-vue": "3.2.20",
  50. "axios": "^1.4.0",
  51. "bpmn-js": "^13.1.0",
  52. "bpmn-js-properties-panel": "^1.25.0",
  53. "camunda-bpmn-moddle": "^7.0.1",
  54. "codemirror": "^5.65.2",
  55. "cropperjs": "^1.5.12",
  56. "crypto-js": "^4.1.1",
  57. "dayjs": "^1.11.7",
  58. "diagram-js": "^12.1.1",
  59. "dom-to-image": "^2.6.0",
  60. "echarts": "^5.3.1",
  61. "exceljs": "^4.3.0",
  62. "file-saver": "^2.0.5",
  63. "html2canvas": "^1.4.1",
  64. "inherits": "^2.0.4",
  65. "intro.js": "^5.0.0",
  66. "js-base64": "^3.7.5",
  67. "js-pinyin": "^0.1.9",
  68. "jsbi-calculator": "^0.3.6",
  69. "jsencrypt": "^3.3.2",
  70. "lodash-es": "^4.17.21",
  71. "min-dash": "^4.0.0",
  72. "min-dom": "^4.0.3",
  73. "mitt": "^3.0.1",
  74. "mockjs": "^1.1.0",
  75. "moment": "^2.29.4",
  76. "node-opencc": "^2.0.1",
  77. "nprogress": "^0.2.0",
  78. "nzh": "^1.0.8",
  79. "path-to-regexp": "^6.2.0",
  80. "pinia": "2.0.12",
  81. "print-js": "^1.6.0",
  82. "qrcode": "^1.5.0",
  83. "qs": "^6.10.3",
  84. "request": "^2.88.2",
  85. "resize-observer-polyfill": "^1.5.1",
  86. "showdown": "^2.1.0",
  87. "snowflake-id": "^1.1.0",
  88. "sortablejs": "^1.14.0",
  89. "tinymce": "^5.10.3",
  90. "vditor": "^3.9.2",
  91. "vite-plugin-top-level-await": "^1.3.1",
  92. "vue": "3.3.4",
  93. "vue-clipboard3": "^2.0.0",
  94. "vue-esign": "^1.1.4",
  95. "vue-grid-layout": "3.0.0-beta1",
  96. "vue-i18n": "^9.2.2",
  97. "vue-json-pretty": "^2.2.4",
  98. "vue-router": "^4.2.1",
  99. "vue-types": "^5.0.3",
  100. "vuedraggable": "^4.1.0",
  101. "wangeditor": "^4.6.13",
  102. "xlsx": "^0.18.5"
  103. },
  104. "devDependencies": {
  105. "@commitlint/cli": "^17.6.3",
  106. "@commitlint/config-conventional": "^17.6.3",
  107. "@iconify/json": "^2.2.67",
  108. "@purge-icons/generated": "^0.9.0",
  109. "@types/codemirror": "^5.60.7",
  110. "@types/crypto-js": "^4.1.1",
  111. "@types/fs-extra": "^11.0.1",
  112. "@types/inquirer": "^9.0.3",
  113. "@types/intro.js": "^5.1.1",
  114. "@types/lodash-es": "^4.17.7",
  115. "@types/mockjs": "^1.0.7",
  116. "@types/node": "^18.16.0",
  117. "@types/nprogress": "^0.2.0",
  118. "@types/qrcode": "^1.5.0",
  119. "@types/qs": "^6.9.7",
  120. "@types/showdown": "^2.0.1",
  121. "@types/sortablejs": "^1.15.1",
  122. "@typescript-eslint/eslint-plugin": "^5.59.6",
  123. "@typescript-eslint/parser": "^5.59.6",
  124. "@vitejs/plugin-vue": "^4.2.3",
  125. "@vitejs/plugin-vue-jsx": "^3.0.1",
  126. "@vue/compiler-sfc": "^3.3.4",
  127. "@vue/test-utils": "^2.3.2",
  128. "autoprefixer": "^10.4.14",
  129. "conventional-changelog-cli": "^2.2.2",
  130. "cross-env": "^7.0.3",
  131. "cz-git": "^1.6.1",
  132. "czg": "^1.6.1",
  133. "dotenv": "^16.0.3",
  134. "eslint": "^8.41.0",
  135. "eslint-config-prettier": "^8.8.0",
  136. "eslint-plugin-prettier": "^4.2.1",
  137. "eslint-plugin-vue": "^9.13.0",
  138. "esno": "^0.16.3",
  139. "fs-extra": "^11.1.1",
  140. "husky": "^8.0.3",
  141. "inquirer": "^9.2.6",
  142. "less": "^4.1.3",
  143. "lint-staged": "^13.2.2",
  144. "picocolors": "^1.0.0",
  145. "postcss": "^8.4.23",
  146. "postcss-html": "^1.5.0",
  147. "postcss-less": "^6.0.0",
  148. "prettier": "^2.0.3",
  149. "rimraf": "^5.0.1",
  150. "rollup": "^3.22.1",
  151. "rollup-plugin-visualizer": "^5.9.0",
  152. "stylelint": "^15.6.2",
  153. "stylelint-config-prettier": "^9.0.5",
  154. "stylelint-config-recommended": "^12.0.0",
  155. "stylelint-config-recommended-vue": "^1.4.0",
  156. "stylelint-config-standard": "^33.0.0",
  157. "stylelint-order": "^6.0.3",
  158. "terser": "^5.17.4",
  159. "ts-node": "^10.9.1",
  160. "typescript": "^5.0.4",
  161. "unplugin-vue-setup-extend-plus": "^1.0.0",
  162. "vite": "^4.3.8",
  163. "vite-plugin-compression": "^0.5.1",
  164. "vite-plugin-mkcert": "^1.15.0",
  165. "vite-plugin-mock": "^2.9.6",
  166. "vite-plugin-progress": "^0.0.7",
  167. "vite-plugin-purge-icons": "^0.9.2",
  168. "vite-plugin-pwa": "^0.15.0",
  169. "vite-plugin-style-import": "^2.0.0",
  170. "vite-plugin-svg-icons": "^2.0.1",
  171. "vite-plugin-windicss": "^1.9.0",
  172. "vite-vue-plugin-html": "^1.0.1",
  173. "vite-vue-plugin-theme": "^1.0.0",
  174. "vue-eslint-parser": "^9.3.0",
  175. "vue-tsc": "^1.6.5"
  176. },
  177. "repository": {
  178. "type": "git",
  179. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  180. },
  181. "license": "MIT",
  182. "bugs": {
  183. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  184. },
  185. "homepage": "https://github.com/anncwb/vue-vben-admin",
  186. "engines": {
  187. "node": ">= 16.0.0",
  188. "pnpm": ">=8.1.0"
  189. },
  190. "lint-staged": {
  191. "*.{js,jsx,ts,tsx}": [
  192. "eslint --fix",
  193. "prettier --write"
  194. ],
  195. "{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
  196. "prettier --write--parser json"
  197. ],
  198. "package.json": [
  199. "prettier --write"
  200. ],
  201. "*.vue": [
  202. "eslint --fix",
  203. "prettier --write",
  204. "stylelint --fix"
  205. ],
  206. "*.{scss,less,styl,html}": [
  207. "stylelint --fix",
  208. "prettier --write"
  209. ],
  210. "*.md": [
  211. "prettier --write"
  212. ]
  213. }
  214. }