package.json 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. {
  2. "name": "shop-vite",
  3. "version": "9.2.5",
  4. "private": true,
  5. "author": "chuzhixin",
  6. "scripts": {
  7. "dev": "set VITE_CJS_IGNORE_WARNING=true && vite",
  8. "dev:mac": "export VITE_CJS_IGNORE_WARNING=true && vite",
  9. "dev:vue-tsc": "set VITE_CJS_IGNORE_WARNING=true && vue-tsc --noEmit && vite",
  10. "dev:https": "set VITE_CJS_IGNORE_WARNING=true && vite --config ./vite.config.dev.ts",
  11. "vue-tsc": "vue-tsc --noEmit",
  12. "build": "set VITE_CJS_IGNORE_WARNING=true && vue-tsc --noEmit && vite build",
  13. "build:mac": "export VITE_CJS_IGNORE_WARNING=true && vue-tsc --noEmit && vite build",
  14. "build:fast": "set VITE_CJS_IGNORE_WARNING=true && set NODE_OPTIONS=--max-old-space-size=8192 && vite build",
  15. "build:fast:mac": "export VITE_CJS_IGNORE_WARNING=true && vite build",
  16. "build:website": "set VITE_CJS_IGNORE_WARNING=true && set NODE_OPTIONS=--max-old-space-size=8192 && vite build --config ./vite.config.website.ts && node write.version.js",
  17. "build:website:mac": "export VITE_CJS_IGNORE_WARNING=true && set NODE_OPTIONS=--max-old-space-size=8192 && vite build --config ./vite.config.website.ts && node write.version.js",
  18. "build:report": "set VITE_CJS_IGNORE_WARNING=true && set NODE_OPTIONS=--max-old-space-size=8192 && vite build --config ./vite.config.dev.ts",
  19. "build:vue-shop-vite": "set VITE_CJS_IGNORE_WARNING=true && vite build",
  20. "preview": " set VITE_CJS_IGNORE_WARNING=true && vite preview",
  21. "lint:eslint": "eslint . --fix",
  22. "lint:prettier": "prettier {src,mock,library,types}/**/*.{html,vue,css,sass,scss,js,ts} --write",
  23. "lint:stylelint": "stylelint {src,mock,library}/**/*.{vue,css,sass,scss} --fix --cache --cache-location node_modules/.cache/stylelint/",
  24. "global:install": "cnpm i -g nrm cnpm npm-check-updates pnpm",
  25. "globle:update": "ncu -g",
  26. "module:install": "pnpm install",
  27. "module:update": "ncu -u --reject vite-plugin-mock,eslint,sass --registry https://registry.npmmirror.com && npm run module:install",
  28. "module:reinstall": "rimraf node_modules && npm run module:install",
  29. "git": "start ./git.sh",
  30. "generate-pwa-assets": "pwa-assets-generator",
  31. "template": "plop"
  32. },
  33. "dependencies": {
  34. "@element-plus/icons-vue": "^2.3.1",
  35. "@imengyu/vue3-context-menu": "^1.4.1",
  36. "@kangc/v-md-editor": "^2.3.18",
  37. "@logicflow/core": "^1.2.27",
  38. "@logicflow/extension": "^1.2.27",
  39. "@lucky-canvas/vue": "^0.1.11",
  40. "@opentiny/vue": "^3.17.2",
  41. "@vueuse/core": "^10.11.0",
  42. "@vueuse/head": "^2.0.0",
  43. "@wangeditor/editor": "^5.1.23",
  44. "@wangeditor/editor-for-vue": "^5.1.12",
  45. "axios": "^1.7.2",
  46. "dayjs": "^1.11.12",
  47. "disable-devtool": "^0.3.7",
  48. "echarts": "^5.5.1",
  49. "element-plus": "^2.7.7",
  50. "jsencrypt": "^3.3.2",
  51. "lodash-es": "^4.17.21",
  52. "mitt": "^3.0.1",
  53. "mockjs": "^1.1.0",
  54. "normalize.css": "^8.0.1",
  55. "nprogress": "^0.2.0",
  56. "pinia": "^2.1.7",
  57. "qs": "^6.12.3",
  58. "typeit": "^8.8.3",
  59. "vsv-icon": "^1.2.1",
  60. "vue": "^3.4.33",
  61. "vue-draggable-plus": "^0.5.2",
  62. "vue-echarts": "^6.7.3",
  63. "vue-i18n": "^9.13.1",
  64. "vue-json-viewer": "^3.0.4",
  65. "vue-pdf-embed": "^2.0.4",
  66. "vue-qr": "^4.0.9",
  67. "vue-router": "^4.4.0",
  68. "vue3-gantt": "1.1.8-7",
  69. "vue3-puzzle-vcode": "^1.1.7",
  70. "xgplayer": "^3.0.19",
  71. "xgplayer-hls.js": "^3.0.19"
  72. },
  73. "devDependencies": {
  74. "@element-plus/eslint-config": "^2.7.7",
  75. "@types/lodash-es": "^4.17.12",
  76. "@types/mockjs": "^1.0.10",
  77. "@types/nprogress": "^0.2.3",
  78. "@types/qs": "^6.9.15",
  79. "@vite-pwa/assets-generator": "^0.2.4",
  80. "@vitejs/plugin-basic-ssl": "^1.1.0",
  81. "@vitejs/plugin-vue": "^5.0.5",
  82. "@vitejs/plugin-vue-jsx": "^4.0.0",
  83. "@vue/compiler-sfc": "^3.4.33",
  84. "@vue/eslint-config-prettier": "^9.0.0",
  85. "@vue/eslint-config-typescript": "^13.0.0",
  86. "adm-zip": "^0.5.14",
  87. "autoprefixer": "^10.4.19",
  88. "chokidar": "^3.6.0",
  89. "eslint": "^8.57.0",
  90. "eslint-plugin-prettier": "^5.2.1",
  91. "eslint-plugin-unicorn": "^54.0.0",
  92. "eslint-plugin-vue": "^9.27.0",
  93. "lint-staged": "^15.2.7",
  94. "picocolors": "^1.0.1",
  95. "plop": "^4.0.1",
  96. "postcss": "^8.4.39",
  97. "postcss-html": "^1.7.0",
  98. "prettier": "^3.3.3",
  99. "rollup-plugin-visualizer": "^5.12.0",
  100. "sass": "1.77.6",
  101. "stylelint": "^16.7.0",
  102. "stylelint-config-recess-order": "^5.0.1",
  103. "stylelint-config-recommended-scss": "^14.1.0",
  104. "stylelint-config-recommended-vue": "^1.5.0",
  105. "terser": "^5.31.3",
  106. "typescript": "^5.5.4",
  107. "unplugin-auto-import": "^0.18.1",
  108. "unplugin-vue-components": "^0.27.3",
  109. "vite": "^5.3.4",
  110. "vite-plugin-banner": "^0.7.1",
  111. "vite-plugin-compression": "^0.5.1",
  112. "vite-plugin-mock": "2.9.8",
  113. "vite-plugin-pwa": "^0.20.0",
  114. "vite-plugin-svg-icons": "^2.0.1",
  115. "vite-plugin-unplugin": "^1.8.0",
  116. "vite-plugin-vitebar": "^0.0.5",
  117. "vue-global-api": "^0.4.1",
  118. "vue-tsc": "^2.0.28"
  119. },
  120. "gitHooks": {
  121. "pre-commit": "lint-staged"
  122. },
  123. "homepage": "https://vuejs-core.cn/shop-vite",
  124. "license": "Mozilla Public License Version 2.0",
  125. "lint-staged": {
  126. "*.{js,ts,vue}": [
  127. "npm run lint",
  128. "npm run lint:prettier",
  129. "git add"
  130. ]
  131. },
  132. "participants": [
  133. "FlowPeakFish"
  134. ],
  135. "repository": {
  136. "type": "git",
  137. "url": "git+https://github.com/zxwk2024/shop-vite.git"
  138. }
  139. }