package.json 4.4 KB
Newer Older
陈文彬 已提交
1 2
{
  "name": "vben-admin-2.0",
V
vben 已提交
3
  "version": "2.0.0-rc.12",
陈文彬 已提交
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": "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
  },
  "dependencies": {
V
vben 已提交
24
    "@iconify/iconify": "^2.0.0-rc.2",
V
vben 已提交
25
    "ant-design-vue": "^2.0.0-rc.2",
V
vben 已提交
26
    "apexcharts": "3.22.0",
V
vben 已提交
27
    "axios": "^0.21.0",
V
vben 已提交
28
    "crypto-es": "^1.2.6",
29
    "echarts": "^4.9.0",
陈文彬 已提交
30 31
    "lodash-es": "^4.17.15",
    "mockjs": "^1.1.0",
V
vben 已提交
32
    "moment": "^2.29.1",
陈文彬 已提交
33
    "nprogress": "^0.2.0",
34
    "path-to-regexp": "^6.2.0",
陈文彬 已提交
35
    "qrcode": "^1.4.4",
V
vben 已提交
36
    "sortablejs": "^1.12.0",
V
vben 已提交
37
    "vditor": "^3.7.0",
V
vben 已提交
38
    "vue": "^3.0.3",
V
vben 已提交
39
    "vue-i18n": "^9.0.0-beta.8",
V
vben 已提交
40
    "vue-router": "^4.0.0-rc.6",
V
vben 已提交
41
    "vue-types": "^3.0.1",
V
vben 已提交
42
    "vuex": "^4.0.0-rc.2",
陈文彬 已提交
43
    "vuex-module-decorators": "^1.0.1",
44
    "xlsx": "^0.16.9",
陈文彬 已提交
45 46 47 48 49
    "zxcvbn": "^4.4.2"
  },
  "devDependencies": {
    "@commitlint/cli": "^11.0.0",
    "@commitlint/config-conventional": "^11.0.0",
V
vben 已提交
50
    "@iconify/json": "^1.1.266",
陈文彬 已提交
51 52
    "@ls-lint/ls-lint": "^1.9.2",
    "@purge-icons/generated": "^0.4.1",
V
vben 已提交
53
    "@types/echarts": "^4.9.2",
V
vben 已提交
54
    "@types/fs-extra": "^9.0.4",
V
vben 已提交
55
    "@types/globrex": "^0.1.0",
陈文彬 已提交
56 57 58 59 60 61
    "@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 已提交
62
    "@types/sortablejs": "^1.10.6",
V
vben 已提交
63
    "@types/yargs": "^15.0.10",
陈文彬 已提交
64
    "@types/zxcvbn": "^4.4.0",
V
vben 已提交
65 66
    "@typescript-eslint/eslint-plugin": "^4.9.0",
    "@typescript-eslint/parser": "^4.9.0",
V
vben 已提交
67
    "@vue/compiler-sfc": "^3.0.3",
V
vben 已提交
68 69
    "@vuedx/typecheck": "^0.2.4-0",
    "@vuedx/typescript-plugin-vue": "^0.2.4-0",
陈文彬 已提交
70
    "autoprefixer": "^9.8.6",
V
vben 已提交
71
    "commitizen": "^4.2.2",
V
vben 已提交
72
    "conventional-changelog-cli": "^2.1.1",
陈文彬 已提交
73
    "conventional-changelog-custom-config": "^0.3.1",
陈文彬 已提交
74
    "cross-env": "^7.0.2",
V
vben 已提交
75
    "dot-prop": "^6.0.1",
陈文彬 已提交
76
    "dotenv": "^8.2.0",
77
    "eslint": "^7.14.0",
V
vben 已提交
78
    "eslint-config-prettier": "^6.15.0",
陈文彬 已提交
79
    "eslint-plugin-prettier": "^3.1.4",
V
vben 已提交
80
    "eslint-plugin-vue": "^7.1.0",
V
vben 已提交
81
    "esno": "^0.2.4",
陈文彬 已提交
82
    "fs-extra": "^9.0.1",
V
vben 已提交
83
    "globrex": "^0.1.2",
陈文彬 已提交
84 85 86
    "husky": "^4.3.0",
    "koa-static": "^5.0.0",
    "less": "^3.12.2",
V
vben 已提交
87
    "lint-staged": "^10.5.2",
陈文彬 已提交
88 89
    "portfinder": "^1.0.28",
    "postcss-import": "^12.0.1",
V
vben 已提交
90
    "prettier": "^2.2.1",
陈文彬 已提交
91
    "rimraf": "^3.0.2",
V
vben 已提交
92
    "rollup-plugin-visualizer": "^4.1.2",
V
vben 已提交
93
    "stylelint": "^13.8.0",
陈文彬 已提交
94 95 96 97 98
    "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 已提交
99
    "typescript": "^4.1.2",
V
vben 已提交
100
    "vite": "^1.0.0-rc.13",
101
    "vite-plugin-html": "^1.0.0-beta.2",
102
    "vite-plugin-mock": "^1.0.6",
V
vben 已提交
103
    "vite-plugin-purge-icons": "^0.4.5",
V
vben 已提交
104
    "vite-plugin-pwa": "^0.1.7",
N
nebv 已提交
105
    "vue-eslint-parser": "^7.1.1",
V
vben 已提交
106
    "yargs": "^16.1.0"
陈文彬 已提交
107
  },
陈文彬 已提交
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
  "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
  },
陈文彬 已提交
123 124 125 126 127 128 129
  "husky": {
    "hooks": {
      "pre-commit": "ls-lint && lint-staged",
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
    }
  },
  "engines": {
130
    "node": ">=10.16.1"
陈文彬 已提交
131 132
  }
}