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