-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
67 lines (67 loc) · 2.57 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "root",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/liangskyli/mock.git"
},
"type": "module",
"scripts": {
"build": "lerna run build",
"test": "lerna run test",
"prepare": "husky",
"preinstall": "npx only-allow pnpm",
"test-http-cli": "lerna run --scope @liangskyli/mock test-http-cli",
"test:middleware": "lerna run --scope @liangskyli/mock test:middleware",
"test-grpc-mock-code-gen": "lerna run --scope @liangskyli/grpc-mock test-grpc-mock-code-gen",
"version:pre": "echo '发布预发布beta版本' && cross-env HUSKY=1 lerna version prerelease --preid beta",
"version:preminor": "echo '发布小版本beta版本' && cross-env HUSKY=1 lerna version preminor --preid beta",
"version:premajor": "echo '发布主版本beta版本' && cross-env HUSKY=1 lerna version premajor --preid beta",
"version:patch": "echo '发布补丁版本' && cross-env HUSKY=1 lerna version patch",
"version:minor": "echo '发布小版本' && cross-env HUSKY=1 lerna version minor",
"version:major": "echo '发布主版本' && cross-env HUSKY=1 lerna version major",
"version:graduate": "echo '预发布版本包升级为稳定版本' && cross-env HUSKY=1 lerna version --conventional-graduate",
"publish-all": "lerna run build && lerna publish from-package",
"publish-all-pre": "lerna run build && lerna publish from-package --pre-dist-tag beta",
"update:deps": "pnpm update --interactive --latest"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
]
},
"devDependencies": {
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@commitlint/config-pnpm-scopes": "^19.5.0",
"@eslint/js": "^9.16.0",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@types/node": "^22.10.1",
"@vitest/coverage-v8": "^2.1.8",
"cross-env": "^7.0.3",
"eslint": "^9.16.0",
"execa": "^9.5.1",
"globals": "^15.13.0",
"husky": "^9.1.7",
"lerna": "8.1.9",
"lint-staged": "^15.2.10",
"prettier": "^3.4.2",
"prettier-plugin-organize-imports": "^4.1.0",
"prettier-plugin-packagejson": "^2.5.6",
"rollup": "^4.28.1",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-delete": "^2.1.0",
"rollup-plugin-typescript2": "^0.36.0",
"typescript": "^5.7.2",
"typescript-eslint": "^8.17.0",
"vitest": "^2.1.8"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18.20.0",
"pnpm": "^8"
}
}