-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (39 loc) · 1.58 KB
/
Copy pathpackage.json
File metadata and controls
45 lines (39 loc) · 1.58 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
{
"name": "sandboxer-root",
"version": "0.0.0",
"private": true,
"workspaces": {
"packages": ["sdks/typescript"],
"catalog": {
"@types/node": "^22",
"typescript": "^5.6.0",
"lefthook": "^1.10.10",
"prettier": "^3.4.2"
}
},
"scripts": {
"postinstall": "lefthook install && bun run scripts/ensure-ruff.ts",
"install:go": "cd sdks/go && go mod download",
"install:python": "cd sdks/python && python3 -m pip install -e .",
"build:go": "cd sdks/go && go build ./...",
"vet:go": "cd sdks/go && go vet ./...",
"test:go": "cd sdks/go && go test ./...",
"check:go": "bun run vet:go && bun run test:go && bun run build:go",
"build:python": "cd sdks/python && python3 -m pip wheel . -w dist --no-deps -q",
"test:python": "bash -c 'if [ -d sdks/python/tests ]; then cd sdks/python && python3 -m pytest tests -q; else echo \"No tests/ yet; skipping pytest\"; fi'",
"build:typescript": "cd sdks/typescript && bun run build",
"build:sdks": "bun run build:python && bun run build:typescript",
"clean": "rm -rf sdks/python/dist sdks/python/*.egg-info sdks/python/build sdks/typescript/dist node_modules",
"version:verify": "bun run scripts/verify-versions.ts",
"version:bump": "bun run scripts/version.ts",
"version:patch": "bun run scripts/version.ts --patch",
"version:minor": "bun run scripts/version.ts --minor",
"version:major": "bun run scripts/version.ts --major"
},
"devDependencies": {
"@types/bun": "^1.3.11",
"lefthook": "catalog:",
"prettier": "catalog:",
"semver": "^7.7.2"
}
}