package.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. {
  2. "name": "vben-admin",
  3. "version": "2.0.0-rc.16",
  4. "scripts": {
  5. "bootstrap": "yarn install",
  6. "serve": "vite",
  7. "build": "vite build && esno ./build/script/postBuild.ts",
  8. "build:no-cache": "yarn clean:cache && npm run build",
  9. "report": "cross-env REPORT=true npm run build ",
  10. "preview": "npm run build && esno ./build/script/preview.ts",
  11. "preview:dist": "esno ./build/script/preview.ts",
  12. "log": "conventional-changelog -p custom-config -i CHANGELOG.md -s -r 0",
  13. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite_opt_cache",
  14. "clean:lib": "npx rimraf node_modules",
  15. "lint:eslint": "eslint --fix --ext \"src/**/*.{vue,less,css,scss}\"",
  16. "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  17. "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  18. "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
  19. "hack-esm:xlsx": "esno ./build/script/hackXlsx",
  20. "postinstall": "npm run hack-esm:xlsx"
  21. },
  22. "dependencies": {
  23. "@iconify/iconify": "^2.0.0-rc.5",
  24. "@vueuse/core": "^4.0.5",
  25. "ant-design-vue": "^2.0.0-rc.8",
  26. "apexcharts": "^3.23.1",
  27. "axios": "^0.21.1",
  28. "crypto-es": "^1.2.6",
  29. "echarts": "^4.9.0",
  30. "lodash-es": "^4.17.20",
  31. "mockjs": "^1.1.0",
  32. "moment": "^2.29.1",
  33. "nprogress": "^0.2.0",
  34. "path-to-regexp": "^6.2.0",
  35. "qrcode": "^1.4.4",
  36. "sortablejs": "^1.13.0",
  37. "vditor": "^3.7.5",
  38. "vue": "^3.0.5",
  39. "vue-i18n": "^9.0.0-rc.1",
  40. "vue-router": "^4.0.2",
  41. "vue-types": "^3.0.1",
  42. "vuex": "^4.0.0-rc.2",
  43. "vuex-module-decorators": "^1.0.1",
  44. "xlsx": "^0.16.9",
  45. "zxcvbn": "^4.4.2"
  46. },
  47. "devDependencies": {
  48. "@commitlint/cli": "^11.0.0",
  49. "@commitlint/config-conventional": "^11.0.0",
  50. "@iconify/json": "^1.1.284",
  51. "@ls-lint/ls-lint": "^1.9.2",
  52. "@purge-icons/generated": "^0.5.0",
  53. "@types/echarts": "^4.9.3",
  54. "@types/fs-extra": "^9.0.6",
  55. "@types/http-proxy": "^1.17.4",
  56. "@types/koa-static": "^4.0.1",
  57. "@types/lodash-es": "^4.17.4",
  58. "@types/mockjs": "^1.0.3",
  59. "@types/nprogress": "^0.2.0",
  60. "@types/qrcode": "^1.3.5",
  61. "@types/rollup-plugin-visualizer": "^2.6.0",
  62. "@types/sortablejs": "^1.10.6",
  63. "@types/yargs": "^15.0.12",
  64. "@types/zxcvbn": "^4.4.0",
  65. "@typescript-eslint/eslint-plugin": "^4.12.0",
  66. "@typescript-eslint/parser": "^4.12.0",
  67. "@vitejs/plugin-legacy": "^1.1.1",
  68. "@vitejs/plugin-vue": "^1.0.5",
  69. "@vitejs/plugin-vue-jsx": "^1.0.1",
  70. "@vue/compiler-sfc": "^3.0.5",
  71. "@vuedx/typecheck": "^0.4.1",
  72. "@vuedx/typescript-plugin-vue": "^0.4.1",
  73. "autoprefixer": "^10.2.1",
  74. "commitizen": "^4.2.2",
  75. "conventional-changelog-cli": "^2.1.1",
  76. "conventional-changelog-custom-config": "^0.3.1",
  77. "cross-env": "^7.0.3",
  78. "dotenv": "^8.2.0",
  79. "eslint": "^7.17.0",
  80. "eslint-config-prettier": "^7.1.0",
  81. "eslint-plugin-prettier": "^3.3.1",
  82. "eslint-plugin-vue": "^7.4.1",
  83. "esno": "^0.4.0",
  84. "fs-extra": "^9.0.1",
  85. "husky": "^4.3.7",
  86. "koa-static": "^5.0.0",
  87. "less": "^4.1.0",
  88. "lint-staged": "^10.5.3",
  89. "portfinder": "^1.0.28",
  90. "postcss-import": "^14.0.0",
  91. "prettier": "^2.2.1",
  92. "rimraf": "^3.0.2",
  93. "rollup-plugin-gzip": "^2.5.0",
  94. "rollup-plugin-visualizer": "^4.1.2",
  95. "stylelint": "^13.8.0",
  96. "stylelint-config-prettier": "^8.0.2",
  97. "stylelint-config-standard": "^20.0.0",
  98. "stylelint-order": "^4.1.0",
  99. "ts-node": "^9.1.0",
  100. "typescript": "^4.1.3",
  101. "vite": "^2.0.0-beta.19",
  102. "vite-plugin-html": "^2.0.0-beta.5",
  103. "vite-plugin-import-context": "^1.0.0-rc.1",
  104. "vite-plugin-mock": "^2.0.0-beta.1",
  105. "vite-plugin-purge-icons": "^0.5.0",
  106. "vite-plugin-pwa": "^0.3.3",
  107. "vue-eslint-parser": "^7.3.0",
  108. "yargs": "^16.2.0"
  109. },
  110. "repository": {
  111. "type": "git",
  112. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  113. },
  114. "license": "MIT",
  115. "bugs": {
  116. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  117. },
  118. "homepage": "https://github.com/anncwb/vue-vben-admin",
  119. "changelog": {
  120. "bugsUrl": "https://github.com/anncwb/vue-vben-admin/issues",
  121. "emojis": true,
  122. "authorName": false,
  123. "authorEmail": false
  124. },
  125. "husky": {
  126. "hooks": {
  127. "pre-commit": "ls-lint && lint-staged",
  128. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  129. }
  130. },
  131. "engines": {
  132. "node": ">=10.16.1"
  133. }
  134. }