package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {
  2. "name": "vben-admin-2.0",
  3. "version": "2.0.0-beta.5",
  4. "scripts": {
  5. "bootstrap": "yarn install",
  6. "serve": "ts-node --project ./build/tsconfig.json ./build/script/preserve && cross-env NODE_ENV=development vite",
  7. "build": "cross-env NODE_ENV=production vite build ",
  8. "report": "cross-env REPORT=true yarn build ",
  9. "build:no-cache": "yarn clean:cache && yarn build",
  10. "preview": "ts-node --project ./build/tsconfig.json ./build/script/preview",
  11. "log": "ts-node --project ./build/tsconfig.json ./build/script/changelog",
  12. "gen:gz": "ts-node --project build/tsconfig.build.json ./build/gzip/index.ts ",
  13. "clean:cache": "npx rimraf node_modules/.cache/ && npx 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": "npx rimraf node_modules && npx rimraf yarn.lock && npx rimraf package.lock.json && yarn run bootstrap",
  20. "postinstall": "ts-node --project ./build/tsconfig.json ./build/script/postinstall"
  21. },
  22. "dependencies": {
  23. "@iconify/iconify": "^2.0.0-rc.1",
  24. "ant-design-vue": "^2.0.0-beta.10",
  25. "axios": "^0.20.0",
  26. "lodash-es": "^4.17.15",
  27. "mockjs": "^1.1.0",
  28. "nprogress": "^0.2.0",
  29. "path-to-regexp": "^6.2.0",
  30. "qrcode": "^1.4.4",
  31. "vue": "^3.0.0",
  32. "vue-i18n": "^9.0.0-beta.4",
  33. "vue-router": "^4.0.0-beta.13",
  34. "vuex": "^4.0.0-beta.4",
  35. "vuex-module-decorators": "^1.0.1",
  36. "zxcvbn": "^4.4.2"
  37. },
  38. "devDependencies": {
  39. "@commitlint/cli": "^11.0.0",
  40. "@commitlint/config-conventional": "^11.0.0",
  41. "@iconify/json": "^1.1.233",
  42. "@ls-lint/ls-lint": "^1.9.2",
  43. "@purge-icons/generated": "^0.4.1",
  44. "@types/fs-extra": "^9.0.1",
  45. "@types/inquirer": "^7.3.1",
  46. "@types/koa-static": "^4.0.1",
  47. "@types/lodash-es": "^4.17.3",
  48. "@types/mockjs": "^1.0.3",
  49. "@types/nprogress": "^0.2.0",
  50. "@types/qrcode": "^1.3.5",
  51. "@types/rollup-plugin-visualizer": "^2.6.0",
  52. "@types/shelljs": "^0.8.8",
  53. "@types/zxcvbn": "^4.4.0",
  54. "@typescript-eslint/eslint-plugin": "^4.4.0",
  55. "@typescript-eslint/parser": "^4.4.0",
  56. "@vue/compiler-sfc": "^3.0.0",
  57. "autoprefixer": "^9.8.6",
  58. "commitizen": "^4.2.1",
  59. "conventional-changelog-cli": "^2.1.0",
  60. "conventional-changelog-custom-config": "^0.3.1",
  61. "cross-env": "^7.0.2",
  62. "dotenv": "^8.2.0",
  63. "eslint": "^7.10.0",
  64. "eslint-config-prettier": "^6.12.0",
  65. "eslint-plugin-prettier": "^3.1.4",
  66. "eslint-plugin-vue": "^7.0.1",
  67. "fs-extra": "^9.0.1",
  68. "husky": "^4.3.0",
  69. "inquirer": "^7.3.3",
  70. "koa-static": "^5.0.0",
  71. "less": "^3.12.2",
  72. "lint-staged": "^10.4.0",
  73. "portfinder": "^1.0.28",
  74. "postcss-import": "^12.0.1",
  75. "prettier": "^2.1.2",
  76. "rimraf": "^3.0.2",
  77. "rollup-plugin-analyzer": "^3.3.0",
  78. "rollup-plugin-visualizer": "^4.1.1",
  79. "shelljs": "^0.8.4",
  80. "stylelint": "^13.7.2",
  81. "stylelint-config-prettier": "^8.0.2",
  82. "stylelint-config-standard": "^20.0.0",
  83. "stylelint-order": "^4.1.0",
  84. "tasksfile": "^5.1.1",
  85. "ts-node": "^9.0.0",
  86. "typescript": "^4.0.3",
  87. "vite": "^1.0.0-rc.4",
  88. "vite-plugin-mock": "^1.0.2",
  89. "vite-plugin-purge-icons": "^0.4.1",
  90. "vue-eslint-parser": "^7.1.0"
  91. },
  92. "repository": {
  93. "type": "git",
  94. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  95. },
  96. "license": "MIT",
  97. "bugs": {
  98. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  99. },
  100. "homepage": "https://github.com/anncwb/vue-vben-admin",
  101. "changelog": {
  102. "bugsUrl": "https://github.com/anncwb/vue-vben-admin/issues",
  103. "emojis": true,
  104. "authorName": false,
  105. "authorEmail": false
  106. },
  107. "husky": {
  108. "hooks": {
  109. "pre-commit": "ls-lint && lint-staged",
  110. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  111. }
  112. },
  113. "engines": {
  114. "node": ">=12.0.0"
  115. }
  116. }