package.json 2.8 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
    "build:h5": "node scripts/build.js uni-app uni-cli-shared uni-h5 uni-i18n uni-shared uni-h5-vite vite-plugin-uni",
fxy060608's avatar
fxy060608 已提交
10
    "build:app": "node scripts/build.js uni-app-plus uni-app-vite uni-app-vue",
fxy060608's avatar
fxy060608 已提交
11
    "size": "npm run build size-check",
12
    "lint": "eslint packages/*/src/**/*.ts",
fxy060608's avatar
fxy060608 已提交
13 14 15
    "format": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
    "ls-lint": "ls-lint",
    "test": "jest",
fxy060608's avatar
fxy060608 已提交
16
    "preinstall": "node ./scripts/checkYarn.js",
17 18
    "e2e:ssr:install": "cd packages/playground/ssr && rm -rf node_modules yarn.lock && yarn",
    "e2e:ssr:dev": "cd packages/playground/ssr && npm run dev:ssr",
Q
qiang 已提交
19 20
    "e2e:ssr:open": "cd packages/playground/ssr && npx cypress open",
    "release": "lerna publish --force-publish=* --dist-tag=vue3"
fxy060608's avatar
fxy060608 已提交
21 22 23 24 25 26
  },
  "types": "test-dts/index.d.ts",
  "tsd": {
    "directory": "test-dts"
  },
  "gitHooks": {
fxy060608's avatar
fxy060608 已提交
27
    "pre-commit": "lint-staged",
fxy060608's avatar
fxy060608 已提交
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
    "commit-msg": "node scripts/verifyCommit.js"
  },
  "lint-staged": {
    "*.js": [
      "prettier --write"
    ],
    "*.ts?(x)": [
      "eslint",
      "prettier --parser=typescript --write"
    ]
  },
  "engines": {
    "node": ">=10.0.0"
  },
  "devDependencies": {
43
    "@dcloudio/types": "^2.2.18",
44
    "@jest/types": "^27.0.2",
45
    "@microsoft/api-extractor": "^7.13.2",
fxy060608's avatar
fxy060608 已提交
46
    "@rollup/plugin-alias": "^3.1.1",
47 48 49 50
    "@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 已提交
51
    "@rollup/plugin-strip": "^2.0.0",
fxy060608's avatar
fxy060608 已提交
52
    "@types/css-font-loading-module": "^0.0.4",
fxy060608's avatar
fxy060608 已提交
53
    "@types/debug": "^4.1.5",
54
    "@types/es-module-lexer": "^0.3.0",
55
    "@types/fs-extra": "^9.0.6",
56
    "@types/jest": "^26.0.23",
57
    "@types/node": "^14.14.20",
58
    "@types/pako": "^1.0.1",
59
    "@types/puppeteer": "^5.4.2",
Q
qiang 已提交
60
    "@types/quill": "^1.3.7",
fxy060608's avatar
fxy060608 已提交
61
    "@types/resolve": "^1.20.0",
62
    "@typescript-eslint/parser": "^4.12.0",
fxy060608's avatar
fxy060608 已提交
63 64
    "@vitejs/plugin-legacy": "^1.4.3",
    "@vitejs/plugin-vue": "^1.2.4",
fxy060608's avatar
fxy060608 已提交
65
    "@vitejs/plugin-vue-jsx": "^1.1.6",
fxy060608's avatar
fxy060608 已提交
66
    "@vue/compiler-sfc": "^3.1.1",
fxy060608's avatar
fxy060608 已提交
67
    "acorn-loose": "^8.1.0",
68
    "eslint": "^7.17.0",
fxy060608's avatar
fxy060608 已提交
69
    "fs-extra": "^9.0.1",
fxy060608's avatar
fxy060608 已提交
70
    "jest": "^27.0.6",
Q
qiang 已提交
71
    "lerna": "^4.0.0",
72 73 74
    "lint-staged": "^10.5.3",
    "mini-types": "^0.1.4",
    "miniprogram-api-typings": "^3.2.0",
fxy060608's avatar
fxy060608 已提交
75
    "module-alias": "^2.2.2",
76 77
    "prettier": "^2.2.1",
    "rollup": "^2.35.1",
fxy060608's avatar
fxy060608 已提交
78
    "rollup-plugin-jscc": "^2.0.0",
fxy060608's avatar
fxy060608 已提交
79 80
    "rollup-plugin-node-builtins": "^2.1.2",
    "rollup-plugin-node-globals": "^1.4.0",
81 82 83 84
    "rollup-plugin-terser": "^7.0.2",
    "rollup-plugin-typescript2": "^0.29.0",
    "rollup-plugin-vue": "^6.0.0",
    "semver": "^7.3.4",
85
    "ts-jest": "^27.0.3",
86
    "typescript": "~4.1.3",
fxy060608's avatar
fxy060608 已提交
87
    "vite": "^2.4.0-beta.2",
fxy060608's avatar
fxy060608 已提交
88
    "vue": "^3.1.2",
fxy060608's avatar
fxy060608 已提交
89
    "yorkie": "^2.0.0"
Q
qiang 已提交
90 91
  },
  "name": "uni-app-next"
fxy060608's avatar
fxy060608 已提交
92
}