package.json 6.6 KB

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