-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
65 lines (65 loc) · 2.63 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
{
"name": "rxxfetch",
"version": "1.0.0",
"description": "Observable HTTP fetch API for browser and Node.js. Handle 302/303 redirect correctly on Node.js",
"private": true,
"type": "module",
"devDependencies": {
"@commitlint/cli": "19",
"@commitlint/config-conventional": "19",
"@midwayjs/mock": "^3.19.0",
"@midwayjs/swagger": "^3.19.0",
"@midwayjs/validate": "^3.19.0",
"@types/koa": "2",
"@types/koa": "2",
"@types/mocha": "10",
"@types/node": "22",
"@waiting/eslint-config": "^15.2.0",
"@waiting/shared-core": "^23.25.3",
"@waiting/shared-types": "^23.24.0",
"autocannon": "8",
"cross-env": "7",
"mocha": "10",
"mwtsc": "^1.12.0",
"swagger-ui-dist": "^5.18.2",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.10",
"typescript": "^5.6.3"
},
"engines": {
"node": ">=20.11.0"
},
"workspaces": [
"packages/*"
],
"scripts": {
"add:pkg": "sh .scripts/add-pkg.sh",
"add:mwcp": "sh .scripts/add-mwcp.sh",
"bp:add": "git remote add bp https://github.com/waitingsong/npm-mono-base",
"bp:sync": "git fetch --all -v && git pull origin && git merge bp/main -m \"Merge remote-tracking branch 'bp/main'\" ",
"bp:sync-force": "git fetch --all -v && git pull origin && git merge bp/main --allow-unrelated-histories -m \"Merge remote-tracking branch 'bp/main'\" ",
"bp:syncxo": "git fetch --all -v && git pull origin && git merge bp/main -m \"Merge remote-tracking branch 'bp/main'\" -Xours",
"bootstrap": "npm i --loglevel info --disturl=https://npmmirror.com/dist/",
"build": "sh .scripts/build.sh",
"build:prod": "sh .scripts/build-prod.sh",
"ci": "npm run cov",
"clean": "lerna clean --loglevel error --yes && lerna run clean && rm -rf .nx",
"cov": "sh .scripts/cov.sh",
"lint": "sh .scripts/lint.sh",
"lint:cycle": "lerna exec -- madge --circular --extensions ts src",
"lint:nofix": "sh .scripts/lint-no-fix.sh",
"lint:s": "sh .scripts/lint-no-fix-s.sh",
"postbuild": "rm -rf packages/*/dist/.mwcc-cache",
"postinstall": "npm run repo:init",
"postpublish": "rm -rf packages/*/npm-shrinkwrap.json",
"pub": "bash .scripts/publish.sh --no-private --conventional-commits --create-release github",
"pub:canary": "bash .scripts/publish.sh --canary",
"pub:beta": "bash .scripts/publish.sh --dist-tag beta --force-publish=*",
"pub:next": "bash .scripts/publish.sh --dist-tag next",
"purge": "sh .scripts/purge.sh",
"repo:init": "sh .githooks/init-repo.sh",
"refresh": "npm run clean && npm update --no-audit && npm run build",
"test": "lerna run test",
"ptest": "sh .scripts/test.sh"
}
}