forked from ShipSecAI/studio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 3.02 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 3.02 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
{
"name": "shipsec-studio",
"private": true,
"version": "0.2.1",
"packageManager": "bun@1.1.20",
"workspaces": [
"frontend",
"backend",
"worker",
"packages/backend-client",
"packages/component-sdk",
"packages/contracts",
"packages/shared"
],
"scripts": {
"dev:frontend": "bun --cwd=frontend dev",
"dev:backend": "bun --cwd=backend run dev",
"dev": "bun run dev:frontend",
"migrate": "bun --cwd=backend run migration:push",
"dev:infra": "bash -lc 'docker compose -f docker/docker-compose.infra.yml -f docker/docker-compose.dev-ports.yml -p shipsec up -d && pm2 startOrReload pm2.config.cjs --only shipsec-frontend,shipsec-backend,shipsec-worker --time'",
"dev:stack": "bun run dev:infra && pm2 logs shipsec-frontend",
"dev:stack:stop": "bash -lc 'pm2 delete shipsec-frontend shipsec-backend shipsec-worker || true && docker compose -f docker/docker-compose.infra.yml -f docker/docker-compose.dev-ports.yml -p shipsec down'",
"typecheck": "tsc --build",
"test": "rm -rf worker/dist && bun test",
"test:e2e": "bash -lc 'SHIPSEC_INSTANCE=${SHIPSEC_INSTANCE:-$(./scripts/active-instance.sh get)} RUN_E2E=true bun test --force-exit e2e-tests'",
"test:e2e:core": "bash -lc 'SHIPSEC_INSTANCE=${SHIPSEC_INSTANCE:-$(./scripts/active-instance.sh get)} RUN_E2E=true bun test --force-exit e2e-tests/core'",
"test:e2e:pipeline": "bash -lc 'SHIPSEC_INSTANCE=${SHIPSEC_INSTANCE:-$(./scripts/active-instance.sh get)} RUN_E2E=true bun test --force-exit e2e-tests/pipeline'",
"test:e2e:cloud": "bash -lc 'SHIPSEC_INSTANCE=${SHIPSEC_INSTANCE:-$(./scripts/active-instance.sh get)} RUN_E2E=true RUN_CLOUD_E2E=true bun test --force-exit e2e-tests/cloud'",
"dev:docs": "cd docs && mint dev",
"lint": "bun run lint:frontend && bun run lint:backend && bun run lint:worker",
"lint:frontend": "bun --cwd=frontend run lint",
"lint:backend": "bun --cwd=backend run lint",
"lint:worker": "bun --cwd=worker run lint",
"lint:fix": "bun run lint:frontend --fix && bun run lint:backend --fix && bun run lint:worker --fix",
"prepare": "husky"
},
"devDependencies": {
"@ai-sdk/mcp": "^1.0.13",
"@ai-sdk/openai": "^3.0.25",
"@modelcontextprotocol/sdk": "^1.25.3",
"@types/bun": "^1.3.6",
"@types/node": "^24.10.9",
"ai": "^6.0.49",
"bun-types": "^1.3.6",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"openapi-typescript": "^7.10.1",
"pm2": "^6.0.14",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"undici": "^7.19.0"
},
"lint-staged": {
"frontend/**/*.{ts,tsx,js,jsx}": "bunx eslint@9 --fix --config frontend/eslint.config.mjs",
"backend/**/*.{ts,js}": "bunx eslint@9 --fix --config backend/eslint.config.mjs",
"worker/**/*.{ts,js}": "bunx eslint@9 --fix --config worker/eslint.config.mjs",
"*.{json,md,yml,yaml}": "bunx prettier --write"
},
"dependencies": {
"@googleapis/admin": "^30.2.0",
"@grpc/grpc-js": "^1.14.3",
"chalk": "^5.6.2",
"chalk-animation": "^2.0.3",
"long": "^5.3.2",
"zod": "^4.3.6"
}
}