package.json 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. {
  2. "name": "naive-admin-element-tenant",
  3. "version": "1.3.8",
  4. "author": {
  5. "name": "Ahjung",
  6. "email": "735878602@qq.com",
  7. "url": "https://github.com/jekip"
  8. },
  9. "private": true,
  10. "scripts": {
  11. "bootstrap": "pnpm install",
  12. "serve": "pnpm run dev",
  13. "dev": "vite",
  14. "build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
  15. "build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts",
  16. "build:no-cache": "pnpm clean:cache && pnpm run build",
  17. "report": "cross-env REPORT=true pnpm run build",
  18. "type:check": "vue-tsc --noEmit --skipLibCheck",
  19. "preview": "pnpm run build && vite preview",
  20. "preview:dist": "vite preview",
  21. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
  22. "clean:lib": "rimraf node_modules",
  23. "lint:eslint": "eslint \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  24. "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  25. "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  26. "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
  27. "lint:pretty": "pretty-quick --staged",
  28. "test prod gzip": "http-server dist --cors --gzip -c-1",
  29. "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && pnpm run bootstrap",
  30. "build typecheck": "vuedx-typecheck . && vite build",
  31. "deploy": "gh-pages -d dist"
  32. },
  33. "dependencies": {
  34. "@element-plus/icons-vue": "2.0.9",
  35. "@types/fabric": "5.3.6",
  36. "@vicons/antd": "0.12.0",
  37. "@vicons/ionicons5": "0.12.0",
  38. "@vueup/vue-quill": "1.0.0-beta.8",
  39. "@vueuse/core": "8.9.4",
  40. "@vueuse/router": "10.6.1",
  41. "@wangeditor/editor": "5.1.23",
  42. "@wangeditor/editor-for-vue": "5.1.12",
  43. "axios": "0.27.2",
  44. "blueimp-md5": "2.19.0",
  45. "canvg": "^4.0.1",
  46. "cropperjs": "1.5.12",
  47. "dayjs": "1.11.4",
  48. "echarts": "5.3.3",
  49. "element-plus": "2.3.6",
  50. "element-resize-detector": "1.2.4",
  51. "fabric": "5.3.0",
  52. "html2canvas": "1.4.1",
  53. "flv.js": "1.6.2",
  54. "konva": "9.3.0",
  55. "lodash-es": "4.17.21",
  56. "mockjs": "1.1.0",
  57. "nprogress": "0.2.0",
  58. "number-precision": "1.6.0",
  59. "perfect-scrollbar": "1.5.5",
  60. "pinia": "2.0.16",
  61. "print-js": "1.6.0",
  62. "qrcode": "1.5.1",
  63. "qs": "6.11.0",
  64. "uid": "2.0.2",
  65. "url-join": "5.0.0",
  66. "vue": "3.3.4",
  67. "vue-hooks-plus": "1.8.6",
  68. "vue-router": "4.1.2",
  69. "vue-types": "4.1.1",
  70. "vuedraggable": "4.1.0",
  71. "xlsx": "0.18.5"
  72. },
  73. "devDependencies": {
  74. "@commitlint/cli": "17.0.3",
  75. "@commitlint/config-conventional": "17.0.3",
  76. "@types/element-resize-detector": "1.1.3",
  77. "@types/intro.js": "3.0.2",
  78. "@types/lodash-es": "4.17.6",
  79. "@types/node": "17.0.45",
  80. "@types/qrcode": "1.4.2",
  81. "@typescript-eslint/eslint-plugin": "5.30.7",
  82. "@typescript-eslint/parser": "5.30.7",
  83. "@vitejs/plugin-vue": "2.3.3",
  84. "@vitejs/plugin-vue-jsx": "1.3.10",
  85. "@vue/compiler-sfc": "3.3.4",
  86. "autoprefixer": "10.4.7",
  87. "colors": "1.4.0",
  88. "commitizen": "4.2.5",
  89. "core-js": "3.23.5",
  90. "cross-env": "7.0.3",
  91. "dotenv": "16.0.1",
  92. "eslint": "8.20.0",
  93. "eslint-config-prettier": "8.5.0",
  94. "eslint-define-config": "1.5.1",
  95. "eslint-plugin-prettier": "4.2.1",
  96. "eslint-plugin-vue": "8.7.1",
  97. "esno": "0.16.3",
  98. "fs-extra": "10.1.0",
  99. "gh-pages": "4.0.0",
  100. "husky": "8.0.1",
  101. "lint-staged": "13.0.3",
  102. "picocolors": "1.0.0",
  103. "postcss": "8.4.14",
  104. "prettier": "2.7.1",
  105. "pretty-quick": "3.1.3",
  106. "rimraf": "3.0.2",
  107. "rollup-plugin-visualizer": "5.8.3",
  108. "sass": "1.53.0",
  109. "stylelint": "14.9.1",
  110. "stylelint-config-prettier": "9.0.3",
  111. "stylelint-config-standard": "25.0.0",
  112. "stylelint-order": "5.0.0",
  113. "stylelint-scss": "4.3.0",
  114. "tailwindcss": "3.3.2",
  115. "ts-node": "10.9.1",
  116. "typescript": "4.7.4",
  117. "vite": "5.0.10",
  118. "vite-plugin-compression": "0.5.1",
  119. "vite-plugin-html": "3.2.0",
  120. "vite-plugin-mock": "2.9.6",
  121. "vite-plugin-style-import": "2.0.0",
  122. "vite-plugin-svg-icons": "2.0.1",
  123. "vite-plugin-vue-setup-extend": "0.4.0",
  124. "vue-eslint-parser": "9.0.3",
  125. "vue-tsc": "0.35.2"
  126. },
  127. "lint-staged": {
  128. "*.{vue,js,ts,tsx}": "eslint --fix"
  129. },
  130. "config": {
  131. "commitizen": {
  132. "path": "./node_modules/cz-customizable"
  133. }
  134. },
  135. "keywords": [
  136. "vue",
  137. "naive-ui",
  138. "naive-ui-admin",
  139. "vue3",
  140. "ts",
  141. "tsx",
  142. "admin",
  143. "typescript"
  144. ],
  145. "engines": {
  146. "node": "12 || >=14"
  147. },
  148. "pnpm": {
  149. "peerDependencyRules": {
  150. "ignoreMissing": [
  151. "rollup",
  152. "webpack"
  153. ]
  154. }
  155. }
  156. }