package.json 4.2 KB
Newer Older
陈文彬 已提交
1 2
{
  "name": "vben-admin-2.0",
V
vben 已提交
3
  "version": "2.0.0-rc.8",
陈文彬 已提交
4
  "scripts": {
V
vben 已提交
5 6
    "bootstrap": "yarn install",
    "serve": "esno ./build/script/preserve.ts && cross-env NODE_ENV=development vite",
V
vben 已提交
7
    "build": " rimraf dist && cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
8
    "build:site": "cross-env SITE=true npm run build ",
V
vben 已提交
9
    "build:no-cache": "yarn  clean:cache && npm run build",
V
vben 已提交
10
    "typecheck": "typecheck .",
11
    "report": "cross-env REPORT=true npm run build ",
V
vben 已提交
12 13 14
    "preview": "npm run build && esno ./build/script/preview.ts",
    "preview:dist": "esno ./build/script/preview.ts",
    "log": "esno ./build/script/changelog.ts",
15
    "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite_opt_cache",
陈文彬 已提交
16 17 18 19
    "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}\"",
20
    "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
V
vben 已提交
21
    "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap"
陈文彬 已提交
22 23 24
  },
  "dependencies": {
    "@iconify/iconify": "^2.0.0-rc.1",
V
vben 已提交
25
    "ant-design-vue": "^2.0.0-beta.13",
V
vben 已提交
26
    "apexcharts": "^3.22.1",
V
vben 已提交
27
    "axios": "^0.21.0",
28
    "echarts": "^4.9.0",
陈文彬 已提交
29 30 31
    "lodash-es": "^4.17.15",
    "mockjs": "^1.1.0",
    "nprogress": "^0.2.0",
32
    "path-to-regexp": "^6.2.0",
陈文彬 已提交
33
    "qrcode": "^1.4.4",
V
vben 已提交
34
    "vditor": "^3.6.0",
V
vben 已提交
35
    "vue": "^3.0.2",
V
vben 已提交
36
    "vue-i18n": "^9.0.0-beta.6",
V
vben 已提交
37
    "vue-router": "^4.0.0-rc.1",
V
vben 已提交
38
    "vuex": "^4.0.0-rc.1",
陈文彬 已提交
39
    "vuex-module-decorators": "^1.0.1",
J
jq002 已提交
40
    "xlsx": "^0.16.8",
陈文彬 已提交
41 42 43 44 45
    "zxcvbn": "^4.4.2"
  },
  "devDependencies": {
    "@commitlint/cli": "^11.0.0",
    "@commitlint/config-conventional": "^11.0.0",
V
vben 已提交
46
    "@iconify/json": "^1.1.251",
陈文彬 已提交
47 48
    "@ls-lint/ls-lint": "^1.9.2",
    "@purge-icons/generated": "^0.4.1",
V
vben 已提交
49
    "@types/echarts": "^4.9.0",
N
nebv 已提交
50
    "@types/fs-extra": "^9.0.2",
陈文彬 已提交
51 52 53 54 55 56
    "@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",
V
vben 已提交
57
    "@types/yargs": "^15.0.9",
陈文彬 已提交
58
    "@types/zxcvbn": "^4.4.0",
V
vben 已提交
59 60
    "@typescript-eslint/eslint-plugin": "^4.6.1",
    "@typescript-eslint/parser": "^4.6.1",
V
vben 已提交
61
    "@vue/compiler-sfc": "^3.0.2",
V
vben 已提交
62 63
    "@vuedx/typecheck": "^0.2.4-0",
    "@vuedx/typescript-plugin-vue": "^0.2.4-0",
陈文彬 已提交
64
    "autoprefixer": "^9.8.6",
V
vben 已提交
65
    "commitizen": "^4.2.2",
陈文彬 已提交
66
    "conventional-changelog-cli": "^2.1.0",
陈文彬 已提交
67
    "conventional-changelog-custom-config": "^0.3.1",
陈文彬 已提交
68 69
    "cross-env": "^7.0.2",
    "dotenv": "^8.2.0",
V
vben 已提交
70
    "eslint": "^7.12.0",
V
vben 已提交
71
    "eslint-config-prettier": "^6.15.0",
陈文彬 已提交
72
    "eslint-plugin-prettier": "^3.1.4",
V
vben 已提交
73
    "eslint-plugin-vue": "^7.1.0",
V
vben 已提交
74
    "esno": "^0.2.4",
陈文彬 已提交
75 76 77 78
    "fs-extra": "^9.0.1",
    "husky": "^4.3.0",
    "koa-static": "^5.0.0",
    "less": "^3.12.2",
V
vben 已提交
79
    "lint-staged": "^10.5.1",
陈文彬 已提交
80 81 82 83 84
    "portfinder": "^1.0.28",
    "postcss-import": "^12.0.1",
    "prettier": "^2.1.2",
    "rimraf": "^3.0.2",
    "rollup-plugin-analyzer": "^3.3.0",
V
vben 已提交
85
    "rollup-plugin-visualizer": "^4.1.2",
陈文彬 已提交
86 87 88 89 90 91
    "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",
V
vben 已提交
92
    "typescript": "^4.0.5",
V
vben 已提交
93
    "vite": "^1.0.0-rc.9",
94
    "vite-plugin-html": "^1.0.0-beta.2",
95
    "vite-plugin-mock": "^1.0.6",
V
vben 已提交
96
    "vite-plugin-purge-icons": "^0.4.4",
V
vben 已提交
97
    "vite-plugin-pwa": "^0.1.5",
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
  }
}