package.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. {
  2. "name": "vben-admin-2.0",
  3. "version": "2.0.0-rc.12",
  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. "ant-design-vue": "2.0.0-rc.2",
  26. "apexcharts": "3.22.0",
  27. "axios": "^0.21.0",
  28. "crypto-es": "^1.2.6",
  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. "sortablejs": "^1.12.0",
  37. "vditor": "^3.6.6",
  38. "vue": "^3.0.3",
  39. "vue-i18n": "^9.0.0-beta.8",
  40. "vue-router": "^4.0.0-rc.5",
  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.264",
  51. "@ls-lint/ls-lint": "^1.9.2",
  52. "@purge-icons/generated": "^0.4.1",
  53. "@types/echarts": "^4.9.2",
  54. "@types/fs-extra": "^9.0.4",
  55. "@types/globrex": "^0.1.0",
  56. "@types/koa-static": "^4.0.1",
  57. "@types/lodash-es": "^4.17.3",
  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.10",
  64. "@types/zxcvbn": "^4.4.0",
  65. "@typescript-eslint/eslint-plugin": "^4.8.2",
  66. "@typescript-eslint/parser": "^4.8.2",
  67. "@vue/compiler-sfc": "^3.0.3",
  68. "@vuedx/typecheck": "^0.2.4-0",
  69. "@vuedx/typescript-plugin-vue": "^0.2.4-0",
  70. "autoprefixer": "^9.8.6",
  71. "commitizen": "^4.2.2",
  72. "conventional-changelog-cli": "^2.1.1",
  73. "conventional-changelog-custom-config": "^0.3.1",
  74. "cross-env": "^7.0.2",
  75. "dot-prop": "^6.0.1",
  76. "dotenv": "^8.2.0",
  77. "eslint": "^7.14.0",
  78. "eslint-config-prettier": "^6.15.0",
  79. "eslint-plugin-prettier": "^3.1.4",
  80. "eslint-plugin-vue": "^7.1.0",
  81. "esno": "^0.2.4",
  82. "fs-extra": "^9.0.1",
  83. "globrex": "^0.1.2",
  84. "husky": "^4.3.0",
  85. "koa-static": "^5.0.0",
  86. "less": "^3.12.2",
  87. "lint-staged": "^10.5.2",
  88. "portfinder": "^1.0.28",
  89. "postcss-import": "^12.0.1",
  90. "prettier": "^2.2.0",
  91. "rimraf": "^3.0.2",
  92. "rollup-plugin-visualizer": "^4.1.2",
  93. "stylelint": "^13.8.0",
  94. "stylelint-config-prettier": "^8.0.2",
  95. "stylelint-config-standard": "^20.0.0",
  96. "stylelint-order": "^4.1.0",
  97. "tasksfile": "^5.1.1",
  98. "ts-node": "^9.0.0",
  99. "typescript": "^4.1.2",
  100. "vite": "^1.0.0-rc.13",
  101. "vite-plugin-html": "^1.0.0-beta.2",
  102. "vite-plugin-mock": "^1.0.6",
  103. "vite-plugin-purge-icons": "^0.4.5",
  104. "vite-plugin-pwa": "^0.1.5",
  105. "vue-eslint-parser": "^7.1.1",
  106. "yargs": "^16.1.0"
  107. },
  108. "repository": {
  109. "type": "git",
  110. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  111. },
  112. "license": "MIT",
  113. "bugs": {
  114. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  115. },
  116. "homepage": "https://github.com/anncwb/vue-vben-admin",
  117. "changelog": {
  118. "bugsUrl": "https://github.com/anncwb/vue-vben-admin/issues",
  119. "emojis": true,
  120. "authorName": false,
  121. "authorEmail": false
  122. },
  123. "husky": {
  124. "hooks": {
  125. "pre-commit": "ls-lint && lint-staged",
  126. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  127. }
  128. },
  129. "engines": {
  130. "node": ">=10.16.1"
  131. }
  132. }