package.json 4.5 KB

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