package.json 2.1 KB
Newer Older
fxy060608's avatar
fxy060608 已提交
1 2 3 4 5 6 7 8
{
  "private": true,
  "version": "3.0.0",
  "workspaces": [
    "packages/*"
  ],
  "scripts": {
    "build": "node scripts/build.js",
fxy060608's avatar
fxy060608 已提交
9
    "size": "size-limit",
10
    "lint": "eslint packages/*/src/**/*.ts",
fxy060608's avatar
fxy060608 已提交
11 12 13 14 15 16 17 18 19 20
    "format": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
    "ls-lint": "ls-lint",
    "test": "jest",
    "preinstall": "node ./scripts/checkYarn.js"
  },
  "types": "test-dts/index.d.ts",
  "tsd": {
    "directory": "test-dts"
  },
  "gitHooks": {
fxy060608's avatar
fxy060608 已提交
21
    "pre-commit": "lint-staged",
fxy060608's avatar
fxy060608 已提交
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
    "commit-msg": "node scripts/verifyCommit.js"
  },
  "lint-staged": {
    "*.js": [
      "prettier --write"
    ],
    "*.ts?(x)": [
      "eslint",
      "prettier --parser=typescript --write"
    ]
  },
  "engines": {
    "node": ">=10.0.0"
  },
  "devDependencies": {
fxy060608's avatar
fxy060608 已提交
37
    "@dcloudio/types": "^2.0.25",
38
    "@microsoft/api-extractor": "^7.13.2",
fxy060608's avatar
fxy060608 已提交
39
    "@rollup/plugin-alias": "^3.1.1",
40 41 42 43
    "@rollup/plugin-commonjs": "^17.0.0",
    "@rollup/plugin-json": "^4.1.0",
    "@rollup/plugin-node-resolve": "^11.0.1",
    "@rollup/plugin-replace": "^2.3.4",
fxy060608's avatar
fxy060608 已提交
44
    "@size-limit/preset-app": "^4.10.1",
fxy060608's avatar
fxy060608 已提交
45
    "@types/debug": "^4.1.5",
46
    "@types/es-module-lexer": "^0.3.0",
47 48 49 50 51
    "@types/fs-extra": "^9.0.6",
    "@types/jest": "^26.0.19",
    "@types/node": "^14.14.20",
    "@types/puppeteer": "^5.4.2",
    "@typescript-eslint/parser": "^4.12.0",
fxy060608's avatar
fxy060608 已提交
52
    "@vitejs/plugin-vue": "^1.2.1",
fxy060608's avatar
fxy060608 已提交
53
    "@vitejs/plugin-vue-jsx": "^1.1.2",
fxy060608's avatar
fxy060608 已提交
54
    "@vue/compiler-sfc": "^3.0.10",
55
    "eslint": "^7.17.0",
fxy060608's avatar
fxy060608 已提交
56
    "fs-extra": "^9.0.1",
57 58 59 60
    "jest": "^26.6.3",
    "lint-staged": "^10.5.3",
    "mini-types": "^0.1.4",
    "miniprogram-api-typings": "^3.2.0",
fxy060608's avatar
fxy060608 已提交
61
    "module-alias": "^2.2.2",
62 63
    "prettier": "^2.2.1",
    "rollup": "^2.35.1",
fxy060608's avatar
fxy060608 已提交
64 65
    "rollup-plugin-node-builtins": "^2.1.2",
    "rollup-plugin-node-globals": "^1.4.0",
66 67 68 69
    "rollup-plugin-terser": "^7.0.2",
    "rollup-plugin-typescript2": "^0.29.0",
    "rollup-plugin-vue": "^6.0.0",
    "semver": "^7.3.4",
fxy060608's avatar
fxy060608 已提交
70
    "size-limit": "^4.10.1",
71
    "ts-jest": "^26.4.4",
72
    "typescript": "~4.1.3",
fxy060608's avatar
fxy060608 已提交
73 74
    "vite": "^2.1.5",
    "vue": "3.0.10",
fxy060608's avatar
fxy060608 已提交
75 76 77
    "yorkie": "^2.0.0"
  }
}