package.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. {
  2. "name": "vben-admin-2.0",
  3. "version": "2.0.0-rc.2",
  4. "scripts": {
  5. "bootstrap": "yarn install",
  6. "serve": "cross-env ts-node --files -P ./build/tsconfig.json ./build/script/preserve && cross-env NODE_ENV=development vite",
  7. "build": "node ./build/jsc.ts build",
  8. "build:site": "cross-env SITE=true npm run build ",
  9. "build:no-cache": "yarn clean:cache && node ./build/jsc.ts build",
  10. "report": "cross-env REPORT=true npm run build ",
  11. "preview": "node ./build/jsc.ts preview",
  12. "log": "node ./build/jsc.ts log",
  13. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite_opt_cache",
  14. "clean:lib": "npx rimraf node_modules",
  15. "ls-lint": "npx ls-lint",
  16. "lint:eslint": "eslint --fix --ext \"src/**/*.{vue,less,css,scss}\"",
  17. "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  18. "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  19. "reinstall": "rimraf node_modules && rimraf yarn.lock && rimraf package.lock.json && npm run bootstrap",
  20. "postinstall": "node ./build/jsc.ts postinstall"
  21. },
  22. "dependencies": {
  23. "@iconify/iconify": "^2.0.0-rc.1",
  24. "ant-design-vue": "^2.0.0-beta.10",
  25. "apexcharts": "^3.22.0",
  26. "axios": "^0.20.0",
  27. "echarts": "^4.9.0",
  28. "lodash-es": "^4.17.15",
  29. "mockjs": "^1.1.0",
  30. "nprogress": "^0.2.0",
  31. "path-to-regexp": "^6.2.0",
  32. "qrcode": "^1.4.4",
  33. "vue": "^3.0.1",
  34. "vue-i18n": "^9.0.0-beta.4",
  35. "vue-router": "^4.0.0-beta.13",
  36. "vuex": "^4.0.0-beta.4",
  37. "vuex-module-decorators": "^1.0.1",
  38. "xlsx": "^0.16.8",
  39. "zxcvbn": "^4.4.2"
  40. },
  41. "devDependencies": {
  42. "@commitlint/cli": "^11.0.0",
  43. "@commitlint/config-conventional": "^11.0.0",
  44. "@iconify/json": "^1.1.243",
  45. "@ls-lint/ls-lint": "^1.9.2",
  46. "@purge-icons/generated": "^0.4.1",
  47. "@types/echarts": "^4.8.3",
  48. "@types/fs-extra": "^9.0.2",
  49. "@types/html-minifier": "^4.0.0",
  50. "@types/inquirer": "^7.3.1",
  51. "@types/koa-static": "^4.0.1",
  52. "@types/lodash-es": "^4.17.3",
  53. "@types/mockjs": "^1.0.3",
  54. "@types/nprogress": "^0.2.0",
  55. "@types/qrcode": "^1.3.5",
  56. "@types/rollup-plugin-visualizer": "^2.6.0",
  57. "@types/shelljs": "^0.8.8",
  58. "@types/yargs": "^15.0.9",
  59. "@types/zxcvbn": "^4.4.0",
  60. "@typescript-eslint/eslint-plugin": "^4.4.1",
  61. "@typescript-eslint/parser": "^4.4.1",
  62. "@vue/compiler-sfc": "^3.0.1",
  63. "autoprefixer": "^9.8.6",
  64. "commitizen": "^4.2.1",
  65. "conventional-changelog-cli": "^2.1.0",
  66. "conventional-changelog-custom-config": "^0.3.1",
  67. "cross-env": "^7.0.2",
  68. "dotenv": "^8.2.0",
  69. "eslint": "^7.10.0",
  70. "eslint-config-prettier": "^6.13.0",
  71. "eslint-plugin-prettier": "^3.1.4",
  72. "eslint-plugin-vue": "^7.0.1",
  73. "fs-extra": "^9.0.1",
  74. "html-minifier": "^4.0.0",
  75. "husky": "^4.3.0",
  76. "inquirer": "^7.3.3",
  77. "koa-static": "^5.0.0",
  78. "less": "^3.12.2",
  79. "lint-staged": "^10.4.2",
  80. "portfinder": "^1.0.28",
  81. "postcss-import": "^12.0.1",
  82. "prettier": "^2.1.2",
  83. "rimraf": "^3.0.2",
  84. "rollup-plugin-analyzer": "^3.3.0",
  85. "rollup-plugin-visualizer": "^4.1.1",
  86. "shelljs": "^0.8.4",
  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.3",
  94. "vite": "npm:@knightly/vite",
  95. "vite-plugin-mock": "^1.0.2",
  96. "vite-plugin-purge-icons": "^0.4.4",
  97. "vue-eslint-parser": "^7.1.1",
  98. "yargs": "^16.1.0"
  99. },
  100. "repository": {
  101. "type": "git",
  102. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  103. },
  104. "license": "MIT",
  105. "bugs": {
  106. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  107. },
  108. "homepage": "https://github.com/anncwb/vue-vben-admin",
  109. "changelog": {
  110. "bugsUrl": "https://github.com/anncwb/vue-vben-admin/issues",
  111. "emojis": true,
  112. "authorName": false,
  113. "authorEmail": false
  114. },
  115. "husky": {
  116. "hooks": {
  117. "pre-commit": "ls-lint && lint-staged",
  118. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  119. }
  120. },
  121. "engines": {
  122. "node": ">=12.0.0"
  123. }
  124. }