package.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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. "cropperjs": "1.5.12",
  46. "dayjs": "1.11.4",
  47. "echarts": "5.3.3",
  48. "element-plus": "2.3.6",
  49. "element-resize-detector": "1.2.4",
  50. "fabric": "5.3.0",
  51. "lodash-es": "4.17.21",
  52. "mockjs": "1.1.0",
  53. "nprogress": "0.2.0",
  54. "perfect-scrollbar": "1.5.5",
  55. "pinia": "2.0.16",
  56. "print-js": "1.6.0",
  57. "qrcode": "1.5.1",
  58. "qs": "6.11.0",
  59. "url-join": "^5.0.0",
  60. "vue": "3.3.4",
  61. "vue-router": "4.1.2",
  62. "vue-types": "4.1.1",
  63. "vuedraggable": "4.1.0",
  64. "xlsx": "0.18.5"
  65. },
  66. "devDependencies": {
  67. "@commitlint/cli": "17.0.3",
  68. "@commitlint/config-conventional": "17.0.3",
  69. "@types/element-resize-detector": "1.1.3",
  70. "@types/intro.js": "3.0.2",
  71. "@types/lodash-es": "4.17.6",
  72. "@types/node": "17.0.45",
  73. "@types/qrcode": "1.4.2",
  74. "@typescript-eslint/eslint-plugin": "5.30.7",
  75. "@typescript-eslint/parser": "5.30.7",
  76. "@vitejs/plugin-vue": "2.3.3",
  77. "@vitejs/plugin-vue-jsx": "1.3.10",
  78. "@vue/compiler-sfc": "3.3.4",
  79. "autoprefixer": "10.4.7",
  80. "colors": "1.4.0",
  81. "commitizen": "4.2.5",
  82. "core-js": "3.23.5",
  83. "cross-env": "7.0.3",
  84. "dotenv": "16.0.1",
  85. "eslint": "8.20.0",
  86. "eslint-config-prettier": "8.5.0",
  87. "eslint-define-config": "1.5.1",
  88. "eslint-plugin-prettier": "4.2.1",
  89. "eslint-plugin-vue": "8.7.1",
  90. "esno": "0.16.3",
  91. "fs-extra": "10.1.0",
  92. "gh-pages": "4.0.0",
  93. "husky": "8.0.1",
  94. "lint-staged": "13.0.3",
  95. "picocolors": "1.0.0",
  96. "postcss": "8.4.14",
  97. "prettier": "2.7.1",
  98. "pretty-quick": "3.1.3",
  99. "rimraf": "3.0.2",
  100. "rollup-plugin-visualizer": "5.8.3",
  101. "sass": "1.53.0",
  102. "stylelint": "14.9.1",
  103. "stylelint-config-prettier": "9.0.3",
  104. "stylelint-config-standard": "25.0.0",
  105. "stylelint-order": "5.0.0",
  106. "stylelint-scss": "4.3.0",
  107. "tailwindcss": "3.3.2",
  108. "ts-node": "10.9.1",
  109. "typescript": "4.7.4",
  110. "vite": "3.2.7",
  111. "vite-plugin-compression": "0.5.1",
  112. "vite-plugin-html": "3.2.0",
  113. "vite-plugin-mock": "2.9.6",
  114. "vite-plugin-style-import": "2.0.0",
  115. "vite-plugin-vue-setup-extend": "0.4.0",
  116. "vue-eslint-parser": "9.0.3",
  117. "vue-tsc": "0.35.2"
  118. },
  119. "lint-staged": {
  120. "*.{vue,js,ts,tsx}": "eslint --fix"
  121. },
  122. "config": {
  123. "commitizen": {
  124. "path": "./node_modules/cz-customizable"
  125. }
  126. },
  127. "keywords": [
  128. "vue",
  129. "naive-ui",
  130. "naive-ui-admin",
  131. "vue3",
  132. "ts",
  133. "tsx",
  134. "admin",
  135. "typescript"
  136. ],
  137. "engines": {
  138. "node": "12 || >=14"
  139. },
  140. "pnpm": {
  141. "peerDependencyRules": {
  142. "ignoreMissing": [
  143. "rollup",
  144. "webpack"
  145. ]
  146. }
  147. }
  148. }