package.json 2.0 KB
Newer Older
L
LeoKu 已提交
1 2 3 4 5 6 7
{
  "name": "vue-color-avatar",
  "version": "1.0.0",
  "private": true,
  "license": "MIT",
  "author": "LeoKu<czc12580520@gmail.com> (https://leoku.top)",
  "scripts": {
L
LeoKu 已提交
8
    "build": "npm run test && vite build",
L
LeoKu 已提交
9 10 11 12 13 14 15 16 17
    "build:prerelease": "vite build --mode prerelease",
    "deps": "yarn upgrade-interactive --latest",
    "dev": "vite",
    "lint": "yarn lint:es && yarn lint:style && yarn lint:ts",
    "lint:es": "eslint \"src/**/*.{js,jsx,ts,tsx,vue}\"",
    "lint:prettier": "prettier --write \"src/**/*.{md,json,html}\"",
    "lint:style": "stylelint \"src/**/*.{css,scss,vue}\"",
    "lint:ts": "tsc --noEmit --skipLibCheck",
    "prepare": "husky install",
L
LeoKu 已提交
18 19
    "preview": "vite preview",
    "test": "jest"
L
LeoKu 已提交
20 21 22 23 24 25 26 27 28 29 30
  },
  "dependencies": {
    "canvas-confetti": "^1.4.0",
    "clipboard": "^2.0.8",
    "html2canvas": "^1.3.2",
    "perfect-scrollbar": "^1.5.2",
    "vue": "^3.2.6",
    "vue-i18n": "^9.2.0-beta.9",
    "vuex": "^4.0.2"
  },
  "devDependencies": {
L
LeoKu 已提交
31 32 33
    "@babel/core": "^7.15.8",
    "@babel/preset-env": "^7.15.8",
    "@babel/preset-typescript": "^7.15.0",
L
LeoKu 已提交
34
    "@types/canvas-confetti": "^1.4.2",
L
LeoKu 已提交
35
    "@types/jest": "^27.0.2",
L
LeoKu 已提交
36 37
    "@typescript-eslint/eslint-plugin": "^5.2.0",
    "@typescript-eslint/parser": "^5.2.0",
L
LeoKu 已提交
38 39
    "@vitejs/plugin-vue": "^1.9.2",
    "@vue/compiler-sfc": "^3.2.19",
L
LeoKu 已提交
40
    "babel-jest": "^27.2.5",
L
LeoKu 已提交
41
    "eslint": "^8.1.0",
L
LeoKu 已提交
42
    "eslint-config-prettier": "^8.3.0",
L
LeoKu 已提交
43
    "eslint-plugin-import": "^2.25.2",
L
LeoKu 已提交
44 45
    "eslint-plugin-prettier": "^4.0.0",
    "eslint-plugin-simple-import-sort": "^7.0.0",
L
LeoKu 已提交
46
    "eslint-plugin-vue": "^8.0.3",
L
LeoKu 已提交
47
    "husky": "^7.0.2",
L
LeoKu 已提交
48
    "jest": "^27.2.5",
L
LeoKu 已提交
49 50 51 52
    "lint-staged": "^11.1.2",
    "prettier": "^2.4.1",
    "rollup-plugin-visualizer": "^5.5.2",
    "sass": "^1.42.1",
L
LeoKu 已提交
53 54
    "stylelint": "^14.0.1",
    "stylelint-config-prettier": "^9.0.3",
L
LeoKu 已提交
55
    "stylelint-config-rational-order": "^0.1.2",
L
LeoKu 已提交
56 57
    "stylelint-config-recommended": "^6.0.0",
    "stylelint-order": "^5.0.0",
L
LeoKu 已提交
58
    "stylelint-prettier": "^1.2.0",
L
LeoKu 已提交
59
    "stylelint-scss": "^4.0.0",
L
LeoKu 已提交
60 61 62 63 64
    "typescript": "^4.4.3",
    "vite": "^2.6.2",
    "vue-tsc": "^0.3.0"
  }
}