package.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. {
  2. "name": "vben-admin-2.0",
  3. "version": "2.0.0-beta.3",
  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. "babel-plugin-import": "^1.13.0",
  59. "commitizen": "^4.2.1",
  60. "conventional-changelog-cli": "^2.1.0",
  61. "conventional-changelog-custom-config": "^0.3.1",
  62. "cross-env": "^7.0.2",
  63. "dotenv": "^8.2.0",
  64. "eslint": "^7.10.0",
  65. "eslint-config-prettier": "^6.12.0",
  66. "eslint-plugin-prettier": "^3.1.4",
  67. "eslint-plugin-vue": "^7.0.1",
  68. "fs-extra": "^9.0.1",
  69. "husky": "^4.3.0",
  70. "inquirer": "^7.3.3",
  71. "koa-static": "^5.0.0",
  72. "less": "^3.12.2",
  73. "lint-staged": "^10.4.0",
  74. "ora": "^5.1.0",
  75. "portfinder": "^1.0.28",
  76. "postcss-import": "^12.0.1",
  77. "prettier": "^2.1.2",
  78. "rimraf": "^3.0.2",
  79. "rollup-plugin-analyzer": "^3.3.0",
  80. "rollup-plugin-visualizer": "^4.1.1",
  81. "shelljs": "^0.8.4",
  82. "stylelint": "^13.7.2",
  83. "stylelint-config-prettier": "^8.0.2",
  84. "stylelint-config-standard": "^20.0.0",
  85. "stylelint-order": "^4.1.0",
  86. "tailwindcss": "^1.8.10",
  87. "tasksfile": "^5.1.1",
  88. "ts-node": "^9.0.0",
  89. "typescript": "^4.0.3",
  90. "vite": "^1.0.0-rc.4",
  91. "vite-jsx": "^1.0.5",
  92. "vite-plugin-mock": "^1.0.2",
  93. "vite-plugin-purge-icons": "^0.4.1",
  94. "vue-eslint-parser": "^7.1.0"
  95. },
  96. "repository": {
  97. "type": "git",
  98. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  99. },
  100. "license": "MIT",
  101. "bugs": {
  102. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  103. },
  104. "homepage": "https://github.com/anncwb/vue-vben-admin",
  105. "changelog": {
  106. "bugsUrl": "https://github.com/anncwb/vue-vben-admin/issues",
  107. "emojis": true,
  108. "authorName": false,
  109. "authorEmail": false
  110. },
  111. "husky": {
  112. "hooks": {
  113. "pre-commit": "ls-lint && lint-staged",
  114. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  115. }
  116. },
  117. "engines": {
  118. "node": ">=12.0.0"
  119. }
  120. }