-
Notifications
You must be signed in to change notification settings - Fork 53
/
package.json
74 lines (74 loc) · 2.81 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
73
74
{
"name": "win32-api",
"version": "1.0.0",
"description": "FFI definitions of windows win32 api for node-ffi",
"private": true,
"devDependencies": {
"@commitlint/cli": "17",
"@commitlint/config-conventional": "17",
"@midwayjs/cli": "^2.0.10",
"@midwayjs/mock": "^3.10.3",
"@midwayjs/web": "^3.10.3",
"@rollup/plugin-commonjs": "24",
"@rollup/plugin-node-resolve": "15",
"@types/mocha": "10",
"@types/node": "18",
"@types/rewire": "2",
"@types/rimraf": "4",
"@waiting/eslint-config": "^8.8.0",
"@waiting/shared-core": "^20.11.4",
"@waiting/shared-types": "^20.11.0",
"autocannon": "^7.10.0",
"coveralls": "3",
"debug": "^4.3.4",
"eslint": "^8.33.0",
"lerna-relinker": "^1.5.0",
"madge": "^6.0.0",
"mocha": "10",
"mocha-lcov-reporter": "1",
"rewire": "6",
"rimraf": "4",
"rollup-plugin-dts": "^5.1.1",
"rxjs": "^7.8.0",
"rxrunscript": "^11.0.1",
"ts-node": "^10.9.1",
"tsc-alias": "^1.8.2",
"tsconfig-paths": "4",
"typescript": "^4.9.5",
"zx": "7"
},
"engines": {
"node": ">=16.13.0"
},
"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": "lerna bootstrap --loglevel notice --concurrency 4",
"bootstrap2": "lerna bootstrap --loglevel notice -- --legacy-peer-deps",
"postbootstrap": "npm run repo:init",
"build": "sh .scripts/build.sh",
"ci": "npm run cov",
"clean": "lerna clean --loglevel error --yes & lerna run clean",
"clean:dist": "rm -rf packages/*/dist/ & rm -rf packages/*/.vscode/",
"cov": "sh .scripts/cov.sh",
"doc": "node .githooks/doc.js",
"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",
"pub": "bash .scripts/publish.sh --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 & rm node_modules -rf & rm package-lock.json -f & nx reset",
"postpurge": "npm run refresh",
"repo:init": "sh .githooks/init-repo.sh",
"refresh": "npm run bootstrap && npm run build",
"test": "lerna run test",
"ptest": "sh .scripts/test.sh"
}
}