Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 4.01 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 4.01 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
{
"name": "open-inspect",
"version": "0.1.0",
"private": true,
"type": "module",
"workspaces": [
"packages/*"
],
"scripts": {
"sandbox:images": "python3 packages/sandbox-images/cli.py",
"sandbox:cleanup-base-snapshots": "npm run --silent build:base-snapshot-cleanup && node dist/cleanup-base-snapshots.mjs",
"models:diff": "node scripts/models-dev-diff.mjs",
"lint": "oxlint .",
"lint:complexity": "node scripts/lint-complexity.mjs",
"lint:sql-portability": "node scripts/lint-sql-portability.mjs",
"lint:fix": "oxlint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "npm run test --workspaces --if-present",
"test:lint-complexity": "node --test scripts/lint-complexity-message.test.mjs",
"test:lint-sandbox-boundaries": "node --test scripts/lint-sandbox-boundaries.test.mjs",
"test:lint-sql-portability": "node --test scripts/lint-sql-portability.test.mjs",
"test:deploy-aws": "node --test scripts/deploy-aws.test.mjs",
"test:rbac-bootstrap-owner": "node --test scripts/bootstrap-workspace-owner.test.ts",
"test:user-merge-cli": "node --test scripts/merge-split-users.test.ts",
"test:cf-logs-cli": "node --test scripts/cf-logs.test.ts",
"test:terraform-workflow-contract": "node --test scripts/terraform-workflow-contract.test.mjs scripts/terraform-plan-comment.test.mjs",
"test:cloudflare-deploy": "node --test scripts/cloudflare-deploy/*.test.mjs",
"test:base-snapshot-retention": "npm run --silent build:base-snapshot-cleanup && esbuild scripts/cleanup-base-snapshots.test.mjs --bundle --platform=node --format=esm --packages=external --outfile=dist/cleanup-base-snapshots.test.mjs && node --test dist/cleanup-base-snapshots.test.mjs",
"test:node-version-workflow-contract": "node --test scripts/node-version-workflow-contract.test.mjs",
"test:readme-translations": "node --test scripts/readme-translations.test.mjs",
"test:coverage": "npm run test:coverage --workspaces --if-present",
"test:coverage-gate": "node --test scripts/check-coverage.test.mjs",
"test:integration": "npm run test:integration --workspaces --if-present",
"typecheck": "npm run build -w @open-inspect/shared && npm run typecheck --workspaces --if-present && tsc -p scripts",
"knip": "knip",
"build": "npm run build -w @open-inspect/shared && npm run build --workspaces --if-present",
"rbac:bootstrap-owner": "node scripts/bootstrap-workspace-owner.ts",
"prepare": "node -e \"if (process.env.CI) process.exit(0)\" && husky",
"preview": "npm run build -w @open-inspect/shared && npm start -w @open-inspect/preview --",
"test:preview": "npm run build -w @open-inspect/shared && npm test -w @open-inspect/preview && npm run test:e2e -w @open-inspect/preview",
"build:base-snapshot-cleanup": "npm run --silent build -w @open-inspect/shared && tsc --noEmit -p scripts/tsconfig.base-snapshot-cleanup.json && esbuild scripts/cleanup-base-snapshots.mjs --bundle --platform=node --format=esm --packages=external --outfile=dist/cleanup-base-snapshots.mjs"
},
"devDependencies": {
"@types/node": "^24.0.0",
"@vitest/coverage-istanbul": "^5.1.1",
"@vitest/coverage-v8": "^5.1.0",
"esbuild": "^0.28.1",
"husky": "^9.1.7",
"knip": "^6.48.0",
"lint-staged": "^17.6.2",
"oxlint": "^1.95.0",
"prettier": "^3.10.1",
"typescript": "^7.0.2",
"vitest": "^5.1.0",
"wrangler": "^4.168.0"
},
"engines": {
"node": ">=24.0.0"
},
"overrides": {
"minimatch": "^11.0.4",
"undici": "^7.29.1",
"sharp": "^0.35.5",
"postcss-selector-parser": "^7.1.6",
"glob": "^14.0.3",
"fflate": "^0.7.5",
"terser": "^5.51.3"
},
"lint-staged": {
"*.{ts,tsx}": [
"oxlint -c oxlint.config.ts --fix",
"prettier --write"
],
"*.{js,jsx,json,md,yaml,yml,css}": [
"prettier --write"
],
"packages/{boat-infra,daytona-infra,e2b-infra,ec2-infra,modal-infra,sandbox-runtime,sandbox-images}/**/*.py": [
"ruff check --fix",
"ruff format"
]
}
}