-
Notifications
You must be signed in to change notification settings - Fork 590
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 3.23 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 3.23 KB
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
68
69
70
71
72
73
74
75
76
77
78
{
"name": "midway_project",
"description": "a web framework for complex Node.js application",
"version": "1.0.0",
"devDependencies": {
"@babel/plugin-proposal-decorators": "7.25.9",
"@nrwl/tao": "16.10.0",
"@types/jest": "29.5.14",
"@types/node": "22.12.0",
"@vercel/ncc": "0.38.4",
"autocannon": "7.15.0",
"execa": "9.6.1",
"fs-extra": "11.3.4",
"jest": "29.7.0",
"lerna": "8.1.2",
"lerna-changelog": "2.2.0",
"madge": "6.1.0",
"mwts": "2.0.4",
"tree-kill": "1.2.2",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"typedoc": "^0.26.11",
"typescript": "5.6.3",
"why-is-node-running": "2.3.0",
"zx": "8.8.5"
},
"scripts": {
"install_npm": "sh scripts/install_npm.sh",
"test": "lerna run test",
"test:dist": "lerna run test:dist --scope=@midwayjs/validation-zod --scope=@midwayjs/validation-zod4 --scope=@midwayjs/validation-joi --scope=@midwayjs/validation-class-validator",
"link": "lerna run link",
"cov": "lerna run cov --concurrency 2 --stream",
"test_legacy": "lerna run test --concurrency 2 --stream --scope={$(lerna list --all --parseable --toposort --long | grep packages-legacy | sed -E \"s/[^:]+:([^:]+).+/\\1/\" | paste -d , -s -)}",
"ci": "npm run build && npm run cov",
"purge": "npm run clean && rm -rf node_modules && rm -rf pnpm-lock.yaml",
"reset": "npm run purge && npm i && npm run ci",
"canary": "sh scripts/publish.sh canary",
"beta": "sh scripts/publish.sh beta",
"next": "sh scripts/publish.sh next",
"release": "sh scripts/publish.sh",
"bootstrap": "rm -f ./packages/.DS* && lerna bootstrap --concurrency 4",
"clean": "lerna clean --yes && rm -rf ./packages/**/package-lock.json && rm -f package-lock.json && rm -rf ./packages/**/pnpm-lock.json ",
"build": "sh scripts/build.sh",
"build:skill-midway": "pnpm -C packages/skill-midway run build && pnpm -C packages/skill-midway run generate",
"build:site-docs": "npm --prefix site run build",
"build:tutorial-site": "npm --prefix tutorial run build",
"authors": "git log --format='%aN <%aE>' | sort -u > AUTHORS",
"version": "if [ \"$SKIP_VERSION_SCRIPTS\" != \"true\" ]; then node ./scripts/generate_rollback.js && node ./scripts/generate_version.js && node ./scripts/generate_changelog.js && git add .; fi",
"lint": "lerna exec --ignore @midwayjs/version -- mwts check",
"lint:cycle": "lerna exec --ignore @midwayjs/version --ignore @midwayjs/faas-typings --ignore @midwayjs/*-layer --ignore @midwayjs/core -- madge --circular --extensions ts src",
"lint:fix": "lerna exec --ignore @midwayjs/version -- mwts fix",
"changelog": "lerna-changelog",
"test:samples": "pnpm -r --filter \"./samples/*\" --workspace-concurrency=1 run test",
"test:samples:hmr": "node scripts/samples-hmr-e2e.mjs"
},
"keywords": [
"container",
"runtime",
"cluster",
"service",
"application",
"webframework"
],
"homepage": "https://github.com/midwayjs/midway",
"repository": {
"type": "git",
"url": "https://github.com/midwayjs/midway.git"
},
"engines": {
"node": ">= 20",
"pnpm": ">= 9"
},
"license": "MIT",
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/midway"
}
}