package.json 3.1 KB
Newer Older
fxy060608's avatar
fxy060608 已提交
1 2
{
  "private": true,
3
  "version": "3.0.0-alpha-3030120211215001",
fxy060608's avatar
fxy060608 已提交
4 5 6 7
  "workspaces": [
    "packages/*"
  ],
  "scripts": {
fxy060608's avatar
fxy060608 已提交
8
    "clean": "rm -rf node_modules **/*/node_modules && pnpm install",
9
    "build": "node scripts/build.js",
fxy060608's avatar
fxy060608 已提交
10
    "build:h5": "node scripts/build.js uni-app uni-cli-shared uni-h5 uni-i18n uni-stat uni-shared uni-h5-vite vite-plugin-uni",
fxy060608's avatar
fxy060608 已提交
11
    "build:app": "node scripts/build.js uni-app-plus uni-app-vite uni-app-vue uni-cli-nvue",
fxy060608's avatar
fxy060608 已提交
12
    "build:mp": "node scripts/build.js uni-mp-vue uni-mp-vite uni-mp-alipay uni-mp-baidu uni-mp-kuaishou uni-mp-lark uni-mp-qq uni-mp-toutiao uni-mp-weixin uni-quickapp-webview",
fxy060608's avatar
fxy060608 已提交
13
    "size": "npm run build size-check",
14
    "lint": "eslint packages/*/src/**/*.ts",
fxy060608's avatar
fxy060608 已提交
15
    "format": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
fxy060608's avatar
fxy060608 已提交
16 17
    "test": "jest && tsc -p ./test-dts/tsconfig.json",
    "test-dts": "tsc -p ./test-dts/tsconfig.json && tsc -p ./test-dts/tsconfig.build.json",
fxy060608's avatar
fxy060608 已提交
18
    "preinstall": "node ./scripts/preinstall.js",
19
    "e2e:ssr:dev": "cd packages/playground/ssr && npm run dev:ssr",
Q
qiang 已提交
20
    "e2e:ssr:open": "cd packages/playground/ssr && npx cypress open",
21
    "release": "node scripts/release.js"
fxy060608's avatar
fxy060608 已提交
22 23 24 25 26 27
  },
  "types": "test-dts/index.d.ts",
  "tsd": {
    "directory": "test-dts"
  },
  "gitHooks": {
fxy060608's avatar
fxy060608 已提交
28
    "pre-commit": "lint-staged",
fxy060608's avatar
fxy060608 已提交
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
    "commit-msg": "node scripts/verifyCommit.js"
  },
  "lint-staged": {
    "*.js": [
      "prettier --write"
    ],
    "*.ts?(x)": [
      "eslint",
      "prettier --parser=typescript --write"
    ]
  },
  "engines": {
    "node": ">=10.0.0"
  },
  "devDependencies": {
D
DCloud_LXH 已提交
44
    "@dcloudio/types": "^2.5.14",
45
    "@dcloudio/uni-api": "3.0.0-alpha-3030120211215001",
fxy060608's avatar
fxy060608 已提交
46
    "@dcloudio/uni-app": "3.0.0-alpha-3030120211215001",
47
    "@jest/types": "^27.0.2",
48
    "@microsoft/api-extractor": "^7.19.2",
fxy060608's avatar
fxy060608 已提交
49
    "@rollup/plugin-alias": "^3.1.1",
fxy060608's avatar
fxy060608 已提交
50
    "@rollup/plugin-babel": "^5.3.0",
51 52 53 54
    "@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 已提交
55
    "@rollup/plugin-strip": "^2.0.0",
56
    "@types/jest": "^26.0.23",
fxy060608's avatar
fxy060608 已提交
57
    "@typescript-eslint/parser": "^5.3.0",
58 59
    "@vitejs/plugin-vue": "^2.0.1",
    "@vitejs/plugin-vue-jsx": "^1.3.2",
60 61 62 63
    "@vue/reactivity": "3.2.26",
    "@vue/runtime-core": "3.2.26",
    "@vue/runtime-dom": "3.2.26",
    "@vue/shared": "3.2.26",
fxy060608's avatar
fxy060608 已提交
64 65
    "chalk": "^4.1.1",
    "core-js": "^2.6.12",
66
    "enquirer": "^2.3.6",
67
    "eslint": "^7.17.0",
fxy060608's avatar
fxy060608 已提交
68 69
    "execa": "^5.1.1",
    "fs-extra": "^10.0.0",
fxy060608's avatar
fxy060608 已提交
70
    "jest": "^27.0.6",
71
    "lint-staged": "^10.5.3",
fxy060608's avatar
fxy060608 已提交
72 73 74
    "mini-types": "^0.1.7",
    "minimist": "^1.2.5",
    "miniprogram-api-typings": "^3.4.4",
fxy060608's avatar
fxy060608 已提交
75
    "prettier": "^2.4.1",
fxy060608's avatar
fxy060608 已提交
76
    "rollup": "^2.57.0",
fxy060608's avatar
fxy060608 已提交
77
    "rollup-plugin-jscc": "^2.0.0",
fxy060608's avatar
fxy060608 已提交
78 79
    "rollup-plugin-node-builtins": "^2.1.2",
    "rollup-plugin-node-globals": "^1.4.0",
80 81 82
    "rollup-plugin-terser": "^7.0.2",
    "rollup-plugin-typescript2": "^0.29.0",
    "rollup-plugin-vue": "^6.0.0",
83
    "semver": "^7.3.5",
84
    "ts-jest": "^27.0.3",
85
    "typescript": "^4.5.3",
86
    "vite": "^2.7.2",
87
    "vue": "3.2.26",
fxy060608's avatar
fxy060608 已提交
88
    "vue-router": "^4.0.12",
fxy060608's avatar
fxy060608 已提交
89
    "yorkie": "^2.0.0"
Q
qiang 已提交
90 91
  },
  "name": "uni-app-next"
fxy060608's avatar
fxy060608 已提交
92
}