package.json 3.4 KB
Newer Older
fxy060608's avatar
fxy060608 已提交
1 2 3 4 5 6 7
{
  "private": true,
  "version": "3.0.0",
  "workspaces": [
    "packages/*"
  ],
  "scripts": {
8
    "build": "node scripts/build.js && npm run test",
fxy060608's avatar
fxy060608 已提交
9
    "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 已提交
10
    "build:app": "node scripts/build.js uni-app-plus uni-app-vite uni-app-vue uni-cli-nvue",
11
    "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 已提交
12
    "size": "npm run build size-check",
13
    "lint": "eslint packages/*/src/**/*.ts",
fxy060608's avatar
fxy060608 已提交
14 15 16
    "format": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
    "ls-lint": "ls-lint",
    "test": "jest",
fxy060608's avatar
fxy060608 已提交
17
    "preinstall": "node ./scripts/checkYarn.js",
18 19
    "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 已提交
20 21
    "e2e:ssr:open": "cd packages/playground/ssr && npx cypress open",
    "release": "lerna publish --force-publish=* --dist-tag=vue3"
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": {
fxy060608's avatar
fxy060608 已提交
44
    "@babel/preset-env": "^7.14.7",
45
    "@dcloudio/types": "2.5.9",
46
    "@jest/types": "^27.0.2",
47
    "@microsoft/api-extractor": "^7.13.2",
fxy060608's avatar
fxy060608 已提交
48
    "@rollup/plugin-alias": "^3.1.1",
fxy060608's avatar
fxy060608 已提交
49
    "@rollup/plugin-babel": "^5.3.0",
50 51 52 53
    "@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 已提交
54
    "@rollup/plugin-strip": "^2.0.0",
55
    "@swc/core": "^1.2.83",
fxy060608's avatar
fxy060608 已提交
56
    "@types/clean-css": "^4.2.5",
fxy060608's avatar
fxy060608 已提交
57
    "@types/debug": "^4.1.5",
58
    "@types/es-module-lexer": "^0.3.0",
59
    "@types/fs-extra": "^9.0.6",
60
    "@types/jest": "^26.0.23",
fxy060608's avatar
fxy060608 已提交
61
    "@types/less": "^3.0.3",
62
    "@types/node": "^14.14.20",
63
    "@types/pako": "^1.0.1",
fxy060608's avatar
fxy060608 已提交
64
    "@types/postcss-import": "^12.0.1",
65
    "@types/puppeteer": "^5.4.2",
Q
qiang 已提交
66
    "@types/quill": "^1.3.7",
fxy060608's avatar
fxy060608 已提交
67
    "@types/resolve": "^1.20.0",
fxy060608's avatar
fxy060608 已提交
68
    "@types/stylus": "^0.48.36",
69
    "@types/uglify-js": "^3.13.1",
70
    "@typescript-eslint/parser": "^4.12.0",
71 72
    "@vitejs/plugin-legacy": "^1.6.1",
    "@vitejs/plugin-vue": "^1.9.3",
73
    "@vitejs/plugin-vue-jsx": "^1.2.0",
74
    "@vue/compiler-sfc": "^3.2.20",
fxy060608's avatar
fxy060608 已提交
75
    "acorn-loose": "^8.1.0",
fxy060608's avatar
fxy060608 已提交
76
    "autoprefixer": "^10.3.4",
fxy060608's avatar
fxy060608 已提交
77
    "core-js": "2",
78
    "eslint": "^7.17.0",
fxy060608's avatar
fxy060608 已提交
79
    "fs-extra": "^9.0.1",
fxy060608's avatar
fxy060608 已提交
80
    "jest": "^27.0.6",
Q
qiang 已提交
81
    "lerna": "^4.0.0",
82 83
    "lint-staged": "^10.5.3",
    "mini-types": "^0.1.4",
Q
qiang 已提交
84
    "miniprogram-api-typings": "^3.4.0",
fxy060608's avatar
fxy060608 已提交
85
    "module-alias": "^2.2.2",
fxy060608's avatar
fxy060608 已提交
86
    "postcss": "^8.3.6",
fxy060608's avatar
fxy060608 已提交
87
    "postcss-load-config": "^3.1.0",
88 89
    "prettier": "^2.2.1",
    "rollup": "^2.35.1",
fxy060608's avatar
fxy060608 已提交
90
    "rollup-plugin-jscc": "^2.0.0",
fxy060608's avatar
fxy060608 已提交
91 92
    "rollup-plugin-node-builtins": "^2.1.2",
    "rollup-plugin-node-globals": "^1.4.0",
93 94 95 96
    "rollup-plugin-terser": "^7.0.2",
    "rollup-plugin-typescript2": "^0.29.0",
    "rollup-plugin-vue": "^6.0.0",
    "semver": "^7.3.4",
97
    "ts-jest": "^27.0.3",
98
    "typescript": "^4.4.3",
99
    "vite": "^2.6.3",
100
    "vue": "^3.2.20",
fxy060608's avatar
fxy060608 已提交
101
    "yorkie": "^2.0.0"
Q
qiang 已提交
102 103
  },
  "name": "uni-app-next"
fxy060608's avatar
fxy060608 已提交
104
}