package.json 4.1 KB
Newer Older
fxy060608's avatar
fxy060608 已提交
1 2
{
  "private": true,
R
r-u 已提交
3
  "version": "3.0.0-alpha-4020520240719001",
fxy060608's avatar
fxy060608 已提交
4 5 6 7
  "workspaces": [
    "packages/*"
  ],
  "scripts": {
fxy060608's avatar
fxy060608 已提交
8
    "all": "npm run lint && npm run format && npm run build && npm run test",
fxy060608's avatar
fxy060608 已提交
9
    "clean": "rm -rf node_modules **/*/node_modules && pnpm install",
10
    "build": "node scripts/build.js",
fxy060608's avatar
fxy060608 已提交
11
    "build:h5": "node scripts/build.js uni-app uts uni-uts-v1 uni-app-uvue uni-cli-shared uni-h5 uni-i18n uni-stat uni-shared uni-h5-vite vite-plugin-uni",
fxy060608's avatar
fxy060608 已提交
12
    "build:app": "node scripts/build.js uni-app-plus uni-app-vite uni-app-vue uni-app-uvue",
13
    "build:mp": "node scripts/build.js uni-mp-vue uni-mp-vite uni-mp-compiler uni-mp-alipay uni-mp-baidu uni-mp-kuaishou uni-mp-lark uni-mp-qq uni-mp-toutiao uni-mp-weixin uni-mp-xhs uni-mp-jd uni-quickapp-webview",
fxy060608's avatar
fxy060608 已提交
14
    "size": "npm run build size-check",
fxy060608's avatar
fxy060608 已提交
15
    "lint": "eslint packages/*/src/**/*.ts packages/*/__tests__/**/*.ts",
fxy060608's avatar
fxy060608 已提交
16
    "format": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
fxy060608's avatar
fxy060608 已提交
17
    "test": "tsc -p ./test-dts/tsconfig.json && node scripts/test.js && jest",
18
    "test-nvue-style": "jest --testMatch \"**/uni-nvue-styler/__tests__/*.spec.ts\" --watch",
fxy060608's avatar
fxy060608 已提交
19
    "test-dts": "tsc -p ./test-dts/tsconfig.json && tsc -p ./test-dts/tsconfig.build.json",
fxy060608's avatar
fxy060608 已提交
20 21
    "preinstall": "npx only-allow pnpm",
    "postinstall": "simple-git-hooks",
22
    "e2e:ssr:dev": "cd packages/playground/ssr && npm run dev:ssr",
Q
qiang 已提交
23
    "e2e:ssr:open": "cd packages/playground/ssr && npx cypress open",
24
    "release": "node scripts/release.js"
fxy060608's avatar
fxy060608 已提交
25 26 27 28 29
  },
  "types": "test-dts/index.d.ts",
  "tsd": {
    "directory": "test-dts"
  },
fxy060608's avatar
fxy060608 已提交
30
  "simple-git-hooks": {
fxy060608's avatar
fxy060608 已提交
31
    "pre-commit": "pnpm exec lint-staged --concurrent false && pnpm run test-dts",
fxy060608's avatar
fxy060608 已提交
32
    "commit-msg": "node scripts/verifyCommit.js $1"
fxy060608's avatar
fxy060608 已提交
33 34
  },
  "lint-staged": {
fxy060608's avatar
fxy060608 已提交
35
    "packages/**/*.ts?(x)": [
fxy060608's avatar
fxy060608 已提交
36 37 38 39 40 41 42 43
      "eslint",
      "prettier --parser=typescript --write"
    ]
  },
  "engines": {
    "node": ">=10.0.0"
  },
  "devDependencies": {
44
    "@babel/core": "^7.23.3",
45
    "@babel/preset-env": "^7.20.2",
46
    "@dcloudio/types": "3.4.11",
R
r-u 已提交
47 48
    "@dcloudio/uni-api": "3.0.0-alpha-4020520240719001",
    "@dcloudio/uni-app": "3.0.0-alpha-4020520240719001",
辛宝Otto's avatar
辛宝Otto 已提交
49
    "@dcloudio/uni-app-x": "^0.7.15",
50
    "@jest/types": "^29.0.3",
fxy060608's avatar
fxy060608 已提交
51
    "@microsoft/api-extractor": "^7.34.5",
fxy060608's avatar
fxy060608 已提交
52 53 54 55 56 57 58 59
    "@rollup/plugin-alias": "^4.0.2",
    "@rollup/plugin-babel": "^6.0.3",
    "@rollup/plugin-commonjs": "^24.0.0",
    "@rollup/plugin-json": "^6.0.0",
    "@rollup/plugin-node-resolve": "^15.0.1",
    "@rollup/plugin-replace": "^5.0.2",
    "@rollup/plugin-strip": "^3.0.2",
    "@rollup/plugin-terser": "^0.2.1",
fxy060608's avatar
fxy060608 已提交
60
    "@types/fs-extra": "^9.0.13",
61
    "@types/jest": "^29.2.3",
fxy060608's avatar
fxy060608 已提交
62
    "@types/node": "^18.16.2",
63
    "@types/react": "^18.2.67",
fxy060608's avatar
fxy060608 已提交
64
    "@types/sass": "~1.43.1",
fxy060608's avatar
fxy060608 已提交
65 66
    "@typescript-eslint/eslint-plugin": "^7.1.1",
    "@typescript-eslint/parser": "^7.1.1",
fxy060608's avatar
fxy060608 已提交
67 68
    "@vitejs/plugin-vue": "^5.0.4",
    "@vitejs/plugin-vue-jsx": "^3.1.0",
69 70 71 72 73
    "@vue/compiler-sfc": "3.4.21",
    "@vue/reactivity": "3.4.21",
    "@vue/runtime-core": "3.4.21",
    "@vue/runtime-dom": "3.4.21",
    "@vue/shared": "3.4.21",
fxy060608's avatar
fxy060608 已提交
74
    "core-js": "^2.6.12",
fxy060608's avatar
fxy060608 已提交
75
    "cypress": "^10.7.0",
fxy060608's avatar
fxy060608 已提交
76
    "dotenv": "^16.4.5",
77
    "enquirer": "^2.3.6",
fxy060608's avatar
fxy060608 已提交
78 79
    "eslint": "^8.57.0",
    "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
fxy060608's avatar
fxy060608 已提交
80
    "execa": "^5.1.1",
fxy060608's avatar
fxy060608 已提交
81
    "fast-glob": "^3.2.11",
fxy060608's avatar
fxy060608 已提交
82
    "fs-extra": "^10.0.0",
fxy060608's avatar
fxy060608 已提交
83
    "isbinaryfile": "^5.0.2",
84
    "jest": "^29.3.1",
fxy060608's avatar
fxy060608 已提交
85
    "jsonc-parser": "^3.2.0",
86
    "lint-staged": "^10.5.3",
fxy060608's avatar
fxy060608 已提交
87 88
    "mini-types": "^0.1.7",
    "minimist": "^1.2.5",
fxy060608's avatar
fxy060608 已提交
89
    "miniprogram-api-typings": "^3.9.1",
fxy060608's avatar
fxy060608 已提交
90
    "picocolors": "^1.0.0",
fxy060608's avatar
fxy060608 已提交
91
    "prettier": "^2.7.1",
Q
qiang 已提交
92
    "promise-polyfill": "^8.3.0",
fxy060608's avatar
fxy060608 已提交
93
    "rollup": "^4.13.0",
fxy060608's avatar
fxy060608 已提交
94
    "rollup-plugin-jscc": "^2.0.0",
fxy060608's avatar
fxy060608 已提交
95 96
    "rollup-plugin-node-builtins": "^2.1.2",
    "rollup-plugin-node-globals": "^1.4.0",
97
    "rollup-plugin-typescript2": "^0.29.0",
98
    "semver": "^7.3.5",
fxy060608's avatar
fxy060608 已提交
99
    "simple-git-hooks": "^2.8.0",
fxy060608's avatar
fxy060608 已提交
100
    "terser": "^5.4.0",
101
    "ts-jest": "^29.1.0",
102
    "typescript": "5.3.2",
103
    "unplugin-auto-import": "^0.16.7",
fxy060608's avatar
fxy060608 已提交
104
    "vite": "5.2.8",
105 106
    "vue": "3.4.21",
    "vue-router": "^4.3.0",
fxy060608's avatar
fxy060608 已提交
107
    "yorkie": "^2.0.0"
Q
qiang 已提交
108
  },
D
DCloud_LXH 已提交
109 110 111
  "resolutions": {
    "@babel/plugin-transform-block-scoping": "7.19.4"
  },
fxy060608's avatar
fxy060608 已提交
112
  "packageManager": "pnpm@9.5.0",
113
  "name": "uni-app-next"
114
}