package.json 2.9 KB
Newer Older
fxy060608's avatar
fxy060608 已提交
1 2
{
  "private": true,
3
  "version": "3.0.0-alpha-3030020211201003",
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",
12
    "build:mp": "node scripts/build.js uni-mp-vue uni-mp-alipay uni-mp-baidu uni-mp-qq uni-mp-toutiao uni-mp-weixin uni-mp-kuaishou 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 16
    "format": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
    "test": "jest",
fxy060608's avatar
fxy060608 已提交
17
    "preinstall": "node ./scripts/preinstall.js",
18
    "e2e:ssr:dev": "cd packages/playground/ssr && npm run dev:ssr",
Q
qiang 已提交
19
    "e2e:ssr:open": "cd packages/playground/ssr && npx cypress open",
20
    "release": "node scripts/release.js"
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": {
fxy060608's avatar
fxy060608 已提交
43
    "@dcloudio/types": "^2.5.13",
44
    "@dcloudio/uni-api": "3.0.0-alpha-3030020211201003",
45
    "@jest/types": "^27.0.2",
46
    "@microsoft/api-extractor": "^7.13.2",
fxy060608's avatar
fxy060608 已提交
47
    "@rollup/plugin-alias": "^3.1.1",
fxy060608's avatar
fxy060608 已提交
48
    "@rollup/plugin-babel": "^5.3.0",
49 50 51 52
    "@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 已提交
53
    "@rollup/plugin-strip": "^2.0.0",
54
    "@types/jest": "^26.0.23",
fxy060608's avatar
fxy060608 已提交
55
    "@typescript-eslint/parser": "^5.3.0",
56
    "@vitejs/plugin-vue": "^1.10.1",
fxy060608's avatar
fxy060608 已提交
57
    "@vitejs/plugin-vue-jsx": "^1.3.0",
58 59 60 61
    "@vue/reactivity": "3.2.23",
    "@vue/runtime-core": "3.2.23",
    "@vue/runtime-dom": "3.2.23",
    "@vue/shared": "3.2.23",
fxy060608's avatar
fxy060608 已提交
62 63
    "chalk": "^4.1.1",
    "core-js": "^2.6.12",
64
    "enquirer": "^2.3.6",
65
    "eslint": "^7.17.0",
fxy060608's avatar
fxy060608 已提交
66 67
    "execa": "^5.1.1",
    "fs-extra": "^10.0.0",
fxy060608's avatar
fxy060608 已提交
68
    "jest": "^27.0.6",
69
    "lint-staged": "^10.5.3",
fxy060608's avatar
fxy060608 已提交
70 71 72
    "mini-types": "^0.1.7",
    "minimist": "^1.2.5",
    "miniprogram-api-typings": "^3.4.4",
fxy060608's avatar
fxy060608 已提交
73
    "prettier": "^2.4.1",
fxy060608's avatar
fxy060608 已提交
74
    "rollup": "^2.57.0",
fxy060608's avatar
fxy060608 已提交
75
    "rollup-plugin-jscc": "^2.0.0",
fxy060608's avatar
fxy060608 已提交
76 77
    "rollup-plugin-node-builtins": "^2.1.2",
    "rollup-plugin-node-globals": "^1.4.0",
78 79 80
    "rollup-plugin-terser": "^7.0.2",
    "rollup-plugin-typescript2": "^0.29.0",
    "rollup-plugin-vue": "^6.0.0",
81
    "semver": "^7.3.5",
82
    "ts-jest": "^27.0.3",
83
    "typescript": "^4.4.3",
84
    "vite": "^2.6.14",
85
    "vue": "3.2.23",
fxy060608's avatar
fxy060608 已提交
86
    "vue-router": "^4.0.12",
fxy060608's avatar
fxy060608 已提交
87
    "yorkie": "^2.0.0"
Q
qiang 已提交
88 89
  },
  "name": "uni-app-next"
fxy060608's avatar
fxy060608 已提交
90
}