-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
72 lines (72 loc) · 2.65 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
68
69
70
71
72
{
"name": "myca",
"version": "1.0.0",
"description": "",
"private": true,
"type": "module",
"devDependencies": {
"@commitlint/cli": "17",
"@commitlint/config-conventional": "17",
"@midwayjs/cli": "^2.1.1",
"@midwayjs/mock": "^3.12.2",
"@midwayjs/web": "^3.12.2",
"@rollup/plugin-commonjs": "25",
"@rollup/plugin-node-resolve": "15",
"@types/mocha": "10",
"@types/node": "20",
"@waiting/eslint-config": "^8.8.0",
"@waiting/shared-core": "^21.4.2",
"@waiting/shared-types": "^21.4.0",
"autocannon": "7",
"coveralls": "3",
"cross-env": "7",
"debug": "^4.3.4",
"eslint": "8",
"madge": "^6.1.0",
"mocha": "10",
"mocha-lcov-reporter": "1",
"nx": "16",
"rollup-plugin-dts": "6",
"ts-node": "^10.9.1",
"tsc-alias": "^1.8.7",
"tsconfig-paths": "4",
"tsx": "3",
"typescript": "^5.1.6",
"zx": "7"
},
"engines": {
"node": ">=16.13.0"
},
"workspaces": [
"packages/*"
],
"scripts": {
"add:pkg": "sh .scripts/add-pkg.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: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",
"ci": "npm run cov",
"clean": "lerna clean --loglevel error --yes && lerna run clean",
"clean:cache": "rm -f packages/*/.eslintcache packages/*/.tsbuildinfo",
"clean:dist": "rm -rf packages/*/dist/ packages/*/.tsbuildinfo",
"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": "npm run clean && lerna run purge && nx reset && rm node_modules -rf && rm package-lock.json -f && npm run refresh",
"repo:init": "sh .githooks/init-repo.sh",
"refresh": "npm i && npm run build",
"test": "lerna run test",
"ptest": "sh .scripts/test.sh"
}
}