package.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "name": "vben-admin-2.0",
  3. "version": "2.0.0-rc.10",
  4. "scripts": {
  5. "bootstrap": "yarn install",
  6. "serve": "esno ./build/script/preserve.ts && cross-env NODE_ENV=development vite",
  7. "build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
  8. "build:site": "cross-env SITE=true npm run build ",
  9. "build:no-cache": "yarn clean:cache && npm run build",
  10. "typecheck": "typecheck .",
  11. "report": "cross-env REPORT=true npm run build ",
  12. "preview": "npm run build && esno ./build/script/preview.ts",
  13. "preview:dist": "esno ./build/script/preview.ts",
  14. "log": "esno ./build/script/changelog.ts",
  15. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite_opt_cache",
  16. "clean:lib": "npx rimraf node_modules",
  17. "ls-lint": "npx ls-lint",
  18. "lint:eslint": "eslint --fix --ext \"src/**/*.{vue,less,css,scss}\"",
  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. "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap"
  22. },
  23. "dependencies": {
  24. "@iconify/iconify": "^2.0.0-rc.2",
  25. "@vueuse/core": "^4.0.0-beta.40",
  26. "ant-design-vue": "^2.0.0-beta.15",
  27. "apexcharts": "3.22.0",
  28. "axios": "^0.21.0",
  29. "echarts": "^4.9.0",
  30. "lodash-es": "^4.17.15",
  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. "vditor": "^3.6.0",
  37. "vue": "^3.0.2",
  38. "vue-i18n": "^9.0.0-beta.6",
  39. "vue-router": "^4.0.0-rc.2",
  40. "vuex": "^4.0.0-rc.1",
  41. "vuex-module-decorators": "^1.0.1",
  42. "xlsx": "^0.16.8",
  43. "zxcvbn": "^4.4.2"
  44. },
  45. "devDependencies": {
  46. "@commitlint/cli": "^11.0.0",
  47. "@commitlint/config-conventional": "^11.0.0",
  48. "@iconify/json": "^1.1.254",
  49. "@ls-lint/ls-lint": "^1.9.2",
  50. "@purge-icons/generated": "^0.4.1",
  51. "@types/echarts": "^4.9.0",
  52. "@types/fs-extra": "^9.0.2",
  53. "@types/koa-static": "^4.0.1",
  54. "@types/lodash-es": "^4.17.3",
  55. "@types/mockjs": "^1.0.3",
  56. "@types/nprogress": "^0.2.0",
  57. "@types/qrcode": "^1.3.5",
  58. "@types/rollup-plugin-visualizer": "^2.6.0",
  59. "@types/yargs": "^15.0.9",
  60. "@types/zxcvbn": "^4.4.0",
  61. "@typescript-eslint/eslint-plugin": "^4.6.1",
  62. "@typescript-eslint/parser": "^4.6.1",
  63. "@vue/compiler-sfc": "^3.0.2",
  64. "@vuedx/typecheck": "^0.2.4-0",
  65. "@vuedx/typescript-plugin-vue": "^0.2.4-0",
  66. "autoprefixer": "^9.8.6",
  67. "commitizen": "^4.2.2",
  68. "conventional-changelog-cli": "^2.1.1",
  69. "conventional-changelog-custom-config": "^0.3.1",
  70. "cross-env": "^7.0.2",
  71. "dotenv": "^8.2.0",
  72. "eslint": "^7.13.0",
  73. "eslint-config-prettier": "^6.15.0",
  74. "eslint-plugin-prettier": "^3.1.4",
  75. "eslint-plugin-vue": "^7.1.0",
  76. "esno": "^0.2.4",
  77. "fs-extra": "^9.0.1",
  78. "husky": "^4.3.0",
  79. "koa-static": "^5.0.0",
  80. "less": "^3.12.2",
  81. "lint-staged": "^10.5.1",
  82. "portfinder": "^1.0.28",
  83. "postcss-import": "^12.0.1",
  84. "prettier": "^2.1.2",
  85. "rimraf": "^3.0.2",
  86. "rollup-plugin-visualizer": "^4.1.2",
  87. "stylelint": "^13.7.2",
  88. "stylelint-config-prettier": "^8.0.2",
  89. "stylelint-config-standard": "^20.0.0",
  90. "stylelint-order": "^4.1.0",
  91. "tasksfile": "^5.1.1",
  92. "ts-node": "^9.0.0",
  93. "typescript": "^4.0.5",
  94. "vite": "^1.0.0-rc.9",
  95. "vite-plugin-html": "^1.0.0-beta.2",
  96. "vite-plugin-mock": "^1.0.6",
  97. "vite-plugin-purge-icons": "^0.4.5",
  98. "vite-plugin-pwa": "^0.1.5",
  99. "vue-eslint-parser": "^7.1.1",
  100. "yargs": "^16.1.0"
  101. },
  102. "repository": {
  103. "type": "git",
  104. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  105. },
  106. "license": "MIT",
  107. "bugs": {
  108. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  109. },
  110. "homepage": "https://github.com/anncwb/vue-vben-admin",
  111. "changelog": {
  112. "bugsUrl": "https://github.com/anncwb/vue-vben-admin/issues",
  113. "emojis": true,
  114. "authorName": false,
  115. "authorEmail": false
  116. },
  117. "husky": {
  118. "hooks": {
  119. "pre-commit": "ls-lint && lint-staged",
  120. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  121. }
  122. },
  123. "engines": {
  124. "node": ">=10.16.1"
  125. }
  126. }