package.json 4.2 KB
Newer Older
陈文彬 已提交
1 2
{
  "name": "vben-admin-2.0",
V
vben 已提交
3
  "version": "2.0.0-rc.3",
陈文彬 已提交
4 5
  "scripts": {
    "bootstrap": "yarn install",
V
vben 已提交
6
    "serve": "cross-env ts-node --files -P  ./build/tsconfig.json ./build/script/preserve && cross-env NODE_ENV=development vite",
V
vben 已提交
7
    "build": "cross-env NODE_ENV=production vite build && node ./build/jsc.ts build",
8
    "build:site": "cross-env SITE=true npm run build ",
V
vben 已提交
9
    "build:no-cache": "yarn  clean:cache && node ./build/jsc.ts build",
10
    "report": "cross-env REPORT=true npm run build ",
11 12
    "preview": "node ./build/jsc.ts preview",
    "log": "node ./build/jsc.ts log",
13
    "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite_opt_cache",
陈文彬 已提交
14 15 16 17
    "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}\"",
18 19
    "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
    "reinstall": "rimraf node_modules && rimraf yarn.lock && rimraf package.lock.json && npm run bootstrap",
20
    "postinstall": "node ./build/jsc.ts postinstall"
陈文彬 已提交
21 22 23 24
  },
  "dependencies": {
    "@iconify/iconify": "^2.0.0-rc.1",
    "ant-design-vue": "^2.0.0-beta.10",
25
    "apexcharts": "^3.22.0",
陈文彬 已提交
26
    "axios": "^0.20.0",
27
    "echarts": "^4.9.0",
陈文彬 已提交
28 29 30
    "lodash-es": "^4.17.15",
    "mockjs": "^1.1.0",
    "nprogress": "^0.2.0",
31
    "path-to-regexp": "^6.2.0",
陈文彬 已提交
32
    "qrcode": "^1.4.4",
V
vben 已提交
33
    "vditor": "^3.5.5",
V
vben 已提交
34
    "vue": "^3.0.1",
35 36
    "vue-i18n": "^9.0.0-beta.4",
    "vue-router": "^4.0.0-beta.13",
陈文彬 已提交
37 38
    "vuex": "^4.0.0-beta.4",
    "vuex-module-decorators": "^1.0.1",
J
jq002 已提交
39
    "xlsx": "^0.16.8",
陈文彬 已提交
40 41 42 43 44
    "zxcvbn": "^4.4.2"
  },
  "devDependencies": {
    "@commitlint/cli": "^11.0.0",
    "@commitlint/config-conventional": "^11.0.0",
V
vben 已提交
45
    "@iconify/json": "^1.1.243",
陈文彬 已提交
46 47
    "@ls-lint/ls-lint": "^1.9.2",
    "@purge-icons/generated": "^0.4.1",
V
vben 已提交
48
    "@types/echarts": "^4.8.3",
N
nebv 已提交
49
    "@types/fs-extra": "^9.0.2",
N
nebv 已提交
50
    "@types/html-minifier": "^4.0.0",
陈文彬 已提交
51 52 53 54 55 56 57 58
    "@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",
V
vben 已提交
59
    "@types/yargs": "^15.0.9",
陈文彬 已提交
60
    "@types/zxcvbn": "^4.4.0",
N
nebv 已提交
61 62
    "@typescript-eslint/eslint-plugin": "^4.4.1",
    "@typescript-eslint/parser": "^4.4.1",
V
vben 已提交
63
    "@vue/compiler-sfc": "^3.0.1",
陈文彬 已提交
64 65 66
    "autoprefixer": "^9.8.6",
    "commitizen": "^4.2.1",
    "conventional-changelog-cli": "^2.1.0",
陈文彬 已提交
67
    "conventional-changelog-custom-config": "^0.3.1",
陈文彬 已提交
68 69 70
    "cross-env": "^7.0.2",
    "dotenv": "^8.2.0",
    "eslint": "^7.10.0",
V
vben 已提交
71
    "eslint-config-prettier": "^6.13.0",
陈文彬 已提交
72
    "eslint-plugin-prettier": "^3.1.4",
73
    "eslint-plugin-vue": "^7.0.1",
陈文彬 已提交
74
    "fs-extra": "^9.0.1",
N
nebv 已提交
75
    "html-minifier": "^4.0.0",
陈文彬 已提交
76 77 78 79
    "husky": "^4.3.0",
    "inquirer": "^7.3.3",
    "koa-static": "^5.0.0",
    "less": "^3.12.2",
V
vben 已提交
80
    "lint-staged": "^10.4.2",
陈文彬 已提交
81 82 83 84 85 86 87 88 89 90 91 92 93 94
    "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",
    "tasksfile": "^5.1.1",
    "ts-node": "^9.0.0",
    "typescript": "^4.0.3",
V
vben 已提交
95
    "vite": "npm:@knightly/vite",
陈文彬 已提交
96
    "vite-plugin-mock": "^1.0.2",
V
vben 已提交
97
    "vite-plugin-purge-icons": "^0.4.4",
N
nebv 已提交
98
    "vue-eslint-parser": "^7.1.1",
V
vben 已提交
99
    "yargs": "^16.1.0"
陈文彬 已提交
100
  },
陈文彬 已提交
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
  "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
  },
陈文彬 已提交
116 117 118 119 120 121 122
  "husky": {
    "hooks": {
      "pre-commit": "ls-lint && lint-staged",
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
    }
  },
  "engines": {
123
    "node": ">=10.16.1"
陈文彬 已提交
124 125
  }
}