package.json 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  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. },
  36. "dependencies": {
  37. "@ant-design/colors": "^7.0.0",
  38. "@ant-design/icons-vue": "^6.1.0",
  39. "@iconify/iconify": "^3.1.0",
  40. "@logicflow/core": "^1.2.7",
  41. "@logicflow/extension": "^1.2.7",
  42. "@vue/runtime-core": "^3.3.4",
  43. "@vueuse/core": "^10.1.2",
  44. "@zxcvbn-ts/core": "^3.0.1",
  45. "ant-design-vue": "3.2.20",
  46. "axios": "^1.4.0",
  47. "bpmn-js": "^13.1.0",
  48. "bpmn-js-properties-panel": "^1.25.0",
  49. "camunda-bpmn-moddle": "^7.0.1",
  50. "codemirror": "^5.65.2",
  51. "cropperjs": "^1.5.12",
  52. "crypto-js": "^4.1.1",
  53. "dayjs": "^1.11.7",
  54. "diagram-js": "^12.1.1",
  55. "dom-to-image": "^2.6.0",
  56. "echarts": "^5.3.1",
  57. "exceljs": "^4.3.0",
  58. "file-saver": "^2.0.5",
  59. "html2canvas": "^1.4.1",
  60. "inherits": "^2.0.4",
  61. "intro.js": "^5.0.0",
  62. "js-base64": "^3.7.5",
  63. "js-pinyin": "^0.1.9",
  64. "jsbi-calculator": "^0.3.6",
  65. "jsencrypt": "^3.3.2",
  66. "lodash-es": "^4.17.21",
  67. "min-dash": "^4.0.0",
  68. "min-dom": "^4.0.3",
  69. "mitt": "^3.0.1",
  70. "mockjs": "^1.1.0",
  71. "moment": "^2.29.4",
  72. "node-opencc": "^2.0.1",
  73. "nprogress": "^0.2.0",
  74. "nzh": "^1.0.8",
  75. "path-to-regexp": "^6.2.0",
  76. "pinia": "2.0.12",
  77. "print-js": "^1.6.0",
  78. "qrcode": "^1.5.0",
  79. "qs": "^6.10.3",
  80. "request": "^2.88.2",
  81. "resize-observer-polyfill": "^1.5.1",
  82. "showdown": "^2.1.0",
  83. "snowflake-id": "^1.1.0",
  84. "sortablejs": "^1.14.0",
  85. "tinymce": "^5.10.3",
  86. "vditor": "^3.9.2",
  87. "vite-plugin-top-level-await": "^1.3.1",
  88. "vue": "3.3.4",
  89. "vue-clipboard3": "^2.0.0",
  90. "vue-esign": "^1.1.4",
  91. "vue-grid-layout": "3.0.0-beta1",
  92. "vue-i18n": "^9.2.2",
  93. "vue-json-pretty": "^2.2.4",
  94. "vue-router": "^4.2.1",
  95. "vue-types": "^5.0.3",
  96. "vuedraggable": "^4.1.0",
  97. "wangeditor": "^4.6.13",
  98. "xlsx": "^0.18.5"
  99. },
  100. "devDependencies": {
  101. "@commitlint/cli": "^17.6.3",
  102. "@commitlint/config-conventional": "^17.6.3",
  103. "@iconify/json": "^2.2.67",
  104. "@purge-icons/generated": "^0.9.0",
  105. "@types/codemirror": "^5.60.7",
  106. "@types/crypto-js": "^4.1.1",
  107. "@types/fs-extra": "^11.0.1",
  108. "@types/inquirer": "^9.0.3",
  109. "@types/intro.js": "^5.1.1",
  110. "@types/lodash-es": "^4.17.7",
  111. "@types/mockjs": "^1.0.7",
  112. "@types/node": "^18.16.0",
  113. "@types/nprogress": "^0.2.0",
  114. "@types/qrcode": "^1.5.0",
  115. "@types/qs": "^6.9.7",
  116. "@types/showdown": "^2.0.1",
  117. "@types/sortablejs": "^1.15.1",
  118. "@typescript-eslint/eslint-plugin": "^5.59.6",
  119. "@typescript-eslint/parser": "^5.59.6",
  120. "@vitejs/plugin-vue": "^4.2.3",
  121. "@vitejs/plugin-vue-jsx": "^3.0.1",
  122. "@vue/compiler-sfc": "^3.3.4",
  123. "@vue/test-utils": "^2.3.2",
  124. "autoprefixer": "^10.4.14",
  125. "conventional-changelog-cli": "^2.2.2",
  126. "cross-env": "^7.0.3",
  127. "cz-git": "^1.6.1",
  128. "czg": "^1.6.1",
  129. "dotenv": "^16.0.3",
  130. "eslint": "^8.41.0",
  131. "eslint-config-prettier": "^8.8.0",
  132. "eslint-plugin-prettier": "^4.2.1",
  133. "eslint-plugin-vue": "^9.13.0",
  134. "esno": "^0.16.3",
  135. "fs-extra": "^11.1.1",
  136. "husky": "^8.0.3",
  137. "inquirer": "^9.2.6",
  138. "less": "^4.1.3",
  139. "lint-staged": "^13.2.2",
  140. "picocolors": "^1.0.0",
  141. "postcss": "^8.4.23",
  142. "postcss-html": "^1.5.0",
  143. "postcss-less": "^6.0.0",
  144. "prettier": "^2.0.3",
  145. "rimraf": "^5.0.1",
  146. "rollup": "^3.22.1",
  147. "rollup-plugin-visualizer": "^5.9.0",
  148. "stylelint": "^15.6.2",
  149. "stylelint-config-prettier": "^9.0.5",
  150. "stylelint-config-recommended": "^12.0.0",
  151. "stylelint-config-recommended-vue": "^1.4.0",
  152. "stylelint-config-standard": "^33.0.0",
  153. "stylelint-order": "^6.0.3",
  154. "terser": "^5.17.4",
  155. "ts-node": "^10.9.1",
  156. "typescript": "^5.0.4",
  157. "unplugin-vue-setup-extend-plus": "^1.0.0",
  158. "vite": "^4.3.8",
  159. "vite-plugin-compression": "^0.5.1",
  160. "vite-plugin-mkcert": "^1.15.0",
  161. "vite-plugin-mock": "^2.9.6",
  162. "vite-plugin-progress": "^0.0.7",
  163. "vite-plugin-purge-icons": "^0.9.2",
  164. "vite-plugin-pwa": "^0.15.0",
  165. "vite-plugin-style-import": "^2.0.0",
  166. "vite-plugin-svg-icons": "^2.0.1",
  167. "vite-plugin-windicss": "^1.9.0",
  168. "vite-vue-plugin-html": "^1.0.1",
  169. "vite-vue-plugin-theme": "^1.0.0",
  170. "vue-eslint-parser": "^9.3.0",
  171. "vue-tsc": "^1.6.5"
  172. },
  173. "repository": {
  174. "type": "git",
  175. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  176. },
  177. "license": "MIT",
  178. "bugs": {
  179. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  180. },
  181. "homepage": "https://github.com/anncwb/vue-vben-admin",
  182. "engines": {
  183. "node": ">= 16.0.0",
  184. "pnpm": ">=8.1.0"
  185. },
  186. "lint-staged": {
  187. "*.{js,jsx,ts,tsx}": [
  188. "eslint --fix",
  189. "prettier --write"
  190. ],
  191. "{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
  192. "prettier --write--parser json"
  193. ],
  194. "package.json": [
  195. "prettier --write"
  196. ],
  197. "*.vue": [
  198. "eslint --fix",
  199. "prettier --write",
  200. "stylelint --fix"
  201. ],
  202. "*.{scss,less,styl,html}": [
  203. "stylelint --fix",
  204. "prettier --write"
  205. ],
  206. "*.md": [
  207. "prettier --write"
  208. ]
  209. }
  210. }