package.json 4.4 KB

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