-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
139 lines (139 loc) · 5.72 KB
/
package.json
File metadata and controls
139 lines (139 loc) · 5.72 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "@ocap/monorepo",
"version": "5.0.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/ocap-kernel.git"
},
"type": "module",
"files": [],
"workspaces": [
"packages/*"
],
"scripts": {
"build": "turbo run build",
"build:clean": "yarn clean && yarn build",
"build:docs": "yarn workspaces foreach --all --exclude @ocap/monorepo --exclude @ocap/extension --parallel --interlaced --verbose run build:docs",
"changelog:update": "yarn workspaces foreach --all --no-private --parallel --interlaced --verbose run changelog:update",
"changelog:validate": "yarn workspaces foreach --all --no-private --parallel --interlaced --verbose run changelog:validate",
"clean": "rimraf --glob './*.tsbuildinfo' ./.eslintcache ./coverage ./.turbo && yarn workspaces foreach --all --parallel --interlaced --verbose run clean",
"create-package": "tsx packages/create-package/src/index.ts",
"lint": "yarn constraints && yarn lint:eslint && yarn lint:misc --check && yarn lint:dependencies",
"lint:dependencies": "yarn dedupe --check >/dev/null && yarn depcheck --quiet && yarn workspaces foreach --all --parallel --verbose run lint:dependencies",
"lint:dependencies:fix": "yarn dedupe >/dev/null && yarn depcheck --quiet && yarn workspaces foreach --all --parallel --verbose run lint:dependencies",
"lint:eslint": "yarn eslint . --cache",
"lint:fix": "yarn constraints --fix && yarn lint:eslint --fix && yarn lint:misc --write && yarn lint:dependencies:fix",
"lint:misc": "prettier --no-error-on-unmatched-pattern '**/*.json' '**/*.md' '**/*.html' '**/*.yml' '!**/CHANGELOG.old.md' '!.yarnrc.yml' '!CLAUDE.md' '!merged-packages/**' --ignore-path .gitignore --log-level error",
"postinstall": "simple-git-hooks && yarn rebuild:native",
"prepack": "./scripts/prepack.sh",
"pretest": "bash scripts/reset-coverage-thresholds.sh",
"rebuild:native": "./scripts/rebuild-native.sh",
"test": "yarn pretest && vitest run",
"test:ci": "vitest run --coverage false",
"test:dev": "turbo run test:dev",
"test:dev:quiet": "turbo run test:dev:quiet --output-logs=errors-only",
"test:e2e": "yarn workspaces foreach --all run test:e2e",
"test:e2e:ci": "yarn workspaces foreach --all run test:e2e:ci",
"test:e2e:local": "yarn workspaces foreach --all run test:e2e:local",
"test:integration": "yarn workspaces foreach --all run test:integration",
"test:verbose": "yarn test --reporter verbose",
"test:watch": "vitest",
"why:batch": "./scripts/why-batch.sh"
},
"simple-git-hooks": {
"pre-commit": "yarn lint-staged && yarn dedupe --check",
"post-rewrite": "yarn lint:dependencies"
},
"lint-staged": {
"*.{js,mjs,cjs,ts,mts,cts}": [
"eslint --fix"
],
"!(CHANGELOG|CLAUDE).{json,html,md,yml}": [
"prettier --write"
]
},
"devDependencies": {
"@agoric/internal": "0.4.0-u21.0.1",
"@arethetypeswrong/cli": "^0.17.4",
"@lavamoat/allow-scripts": "^3.3.2",
"@lavamoat/preinstall-always-fail": "^2.1.0",
"@metamask/auto-changelog": "^5.3.0",
"@metamask/create-release-branch": "^4.1.3",
"@metamask/eslint-config": "^15.0.0",
"@metamask/eslint-config-nodejs": "^15.0.0",
"@metamask/eslint-config-typescript": "^15.0.0",
"@metamask/eslint-config-vitest": "^15.0.0",
"@ocap/cli": "workspace:^",
"@ts-bridge/cli": "^0.6.3",
"@ts-bridge/shims": "^0.1.1",
"@types/lodash": "^4.17.16",
"@types/node": "^22.13.1",
"@types/setimmediate": "^1.0.4",
"@types/webextension-polyfill": "^0",
"@typescript-eslint/eslint-plugin": "^8.29.0",
"@typescript-eslint/parser": "^8.29.0",
"@typescript-eslint/utils": "^8.29.0",
"@vitest/coverage-v8": "^4.0.16",
"@vitest/eslint-plugin": "^1.6.5",
"@yarnpkg/types": "^4.0.1",
"depcheck": "^1.4.7",
"eslint": "^9.23.0",
"eslint-config-prettier": "^10.1.1",
"eslint-import-resolver-typescript": "^4.3.1",
"eslint-plugin-import-x": "^4.10.0",
"eslint-plugin-jsdoc": "^50.6.9",
"eslint-plugin-n": "^17.17.0",
"eslint-plugin-prettier": "^5.2.6",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"globals": "^16.0.0",
"lint-staged": "^15.5.0",
"lodash": "^4.17.21",
"prettier": "^3.5.3",
"prettier-plugin-packagejson": "^2.5.10",
"rimraf": "^6.0.1",
"semver": "^7.7.1",
"simple-git-hooks": "^2.12.1",
"tsx": "^4.20.6",
"turbo": "^2.5.6",
"typedoc": "^0.28.1",
"typescript": "~5.8.2",
"typescript-eslint": "^8.29.0",
"vite": "^7.3.0",
"vite-tsconfig-paths": "^6.0.3",
"vitest": "^4.0.16",
"vitest-fetch-mock": "^0.4.5"
},
"packageManager": "yarn@4.12.0",
"engines": {
"node": "^20.11 || >=22"
},
"lavamoat": {
"allowScripts": {
"$root$": true,
"@ocap/cli>@metamask/logger>@metamask/streams": true,
"@ocap/cli>@libp2p/webrtc>@ipshipyard/node-datachannel": false,
"@lavamoat/preinstall-always-fail": false,
"eslint-import-resolver-typescript>unrs-resolver": false,
"eslint-plugin-import-x>unrs-resolver": false,
"simple-git-hooks": false,
"tsx>esbuild": false,
"vite>esbuild": false,
"vite>sass>@parcel/watcher": false,
"vitest>@vitest/browser>webdriverio>@wdio/utils>edgedriver": false,
"vitest>@vitest/browser>webdriverio>@wdio/utils>geckodriver": false,
"vitest>@vitest/mocker>msw": false
}
},
"resolutions": {
"@radix-ui/react-slot@npm:^1.1.0": "1.2.4",
"cookie": "^0.7.0",
"@chainsafe/libp2p-noise": "16.1.5",
"@libp2p/interface": "2.11.0",
"@multiformats/multiaddr": "12.5.1",
"@multiformats/multiaddr-to-uri": "11.0.2",
"@multiformats/dns": "1.0.9"
}
}