-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
138 lines (138 loc) · 6.36 KB
/
Copy pathpackage.json
File metadata and controls
138 lines (138 loc) · 6.36 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
{
"name": "sentris-flow",
"private": true,
"version": "0.2.1",
"packageManager": "bun@1.3.10",
"workspaces": [
"frontend",
"backend",
"worker",
"packages/backend-client",
"packages/component-sdk",
"packages/contracts",
"packages/local-runtime",
"packages/shared"
],
"scripts": {
"setup": "node scripts/setup.js",
"dev": "node scripts/dev.js",
"dev:stop": "node scripts/dev-stop.js",
"dev:restart": "node scripts/dev.js restart",
"pm2": "node scripts/pm2-cli.js",
"dev:fe": "bun --cwd=frontend dev",
"dev:frontend": "bun --cwd=frontend dev",
"dev:backend": "bun --cwd=backend run dev",
"db:reset": "bun scripts/db-reset-instance.ts",
"migrate": "bun --cwd=backend run migration:run",
"migrate:findings-index": "bun --cwd=backend run findings:index:migrate",
"dev:infra": "bun run dev",
"dev:stack": "bun run dev",
"dev:stack:stop": "bun run dev:stop",
"instance": "node scripts/active-instance.js",
"typecheck": "tsc --build",
"typecheck:e2e": "tsc -p tsconfig.e2e.json",
"typecheck:release-scripts": "tsc -p tsconfig.release-scripts.json",
"test": "node scripts/test-all.js",
"check:pre-push": "node scripts/pre-push.js",
"test:e2e": "node scripts/e2e-test.js e2e-tests",
"test:e2e:core": "node scripts/e2e-test.js e2e-tests/core",
"test:e2e:release": "node scripts/e2e-test.js --require-explicit-instance --strict-services e2e-tests/core/self-hosted-critical-journey.test.ts",
"test:e2e:pipeline": "node scripts/e2e-test.js e2e-tests/pipeline",
"test:e2e:cloud": "node scripts/e2e-test.js --cloud e2e-tests/cloud",
"test:e2e:setup": "bun e2e-tests/scripts/setup-e2e-env.ts",
"template-library:check": "bun scripts/template-library-live-audit.ts --ledger-check",
"template-library:audit": "bun scripts/template-library-live-audit.ts",
"template-library:verify": "node scripts/verify-template-library.js",
"security-components:check": "bun scripts/security-component-live-audit.ts --ledger-check",
"security-components:audit": "bun scripts/security-component-live-audit.ts --sequential",
"security-components:verify": "node scripts/verify-security-components.js",
"smoke:mcp-agent-tools": "bun scripts/smoke-mcp-agent-tools.ts",
"smoke:production-compose": "node scripts/production-compose-smoke.js",
"smoke:worker-crash-recovery": "node scripts/worker-crash-recovery-smoke.js",
"smoke:browser-target-journey": "node scripts/browser-target-journey.js",
"smoke:lifecycle-durability": "bun --cwd=backend run smoke:lifecycle-durability",
"smoke:findings-opensearch": "bun --cwd=backend run smoke:findings-opensearch",
"smoke:findings-opensearch:typecheck": "bun --cwd=backend run smoke:findings-opensearch:typecheck",
"smoke:telemetry-durability": "bun --cwd=backend run smoke:telemetry-durability",
"smoke:telemetry-durability:typecheck": "bun --cwd=backend run smoke:telemetry-durability:typecheck",
"performance:collect": "bun scripts/release-benchmark.ts",
"performance:compare": "bun scripts/performance-budget.ts",
"performance:pair": "bun scripts/release-performance-pair.ts",
"dev:docs": "cd docs && mint dev",
"lint": "bun run lint:code && bun run format:check",
"lint:code": "bun run --parallel lint:frontend lint:backend lint:worker lint:shared lint:contracts lint:component-sdk lint:backend-client",
"lint:frontend": "bun --cwd=frontend run lint",
"lint:backend": "bun --cwd=backend run lint",
"lint:worker": "bun --cwd=worker run lint",
"lint:shared": "bun --cwd=packages/shared run lint",
"lint:contracts": "bun --cwd=packages/contracts run lint",
"lint:component-sdk": "bun --cwd=packages/component-sdk run lint",
"lint:backend-client": "bun --cwd=packages/backend-client run lint",
"format:check": "prettier \"frontend/src/**/*.{ts,tsx}\" \"frontend/*.{ts,tsx}\" \"backend/**/*.ts\" \"worker/src/**/*.ts\" \"packages/**/*.ts\" --check --cache --cache-location .cache/prettier/.prettier-cache --cache-strategy content",
"format": "prettier \"frontend/src/**/*.{ts,tsx}\" \"frontend/*.{ts,tsx}\" \"backend/**/*.ts\" \"worker/src/**/*.ts\" \"packages/**/*.ts\" --write --cache --cache-location .cache/prettier/.prettier-cache --cache-strategy content",
"lint:fix": "bun run lint:frontend --fix && bun run lint:backend --fix && bun run lint:worker --fix && bun run lint:shared --fix && bun run lint:contracts --fix && bun run lint:component-sdk --fix && bun run lint:backend-client --fix && bun run format",
"release:sync-versions": "bun scripts/sync-versions.ts",
"prepare": "husky"
},
"devDependencies": {
"@ai-sdk/mcp": "^1.0.66",
"@ai-sdk/openai": "^3.0.25",
"@modelcontextprotocol/sdk": "^1.30.0",
"@types/bun": "^1.3.6",
"@types/node": "^25.1.0",
"ai": "^6.0.49",
"bun-types": "^1.3.6",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"openapi-typescript": "^7.10.1",
"playwright": "^1.62.0",
"pm2": "^6.0.14",
"prettier": "^3.8.1",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"undici": "^7.19.0"
},
"lint-staged": {
"frontend/**/*.{ts,tsx,js,jsx}": [
"bun --cwd=frontend eslint --fix --config eslint.config.mjs",
"prettier --write"
],
"backend/**/*.{ts,js}": [
"bun --cwd=backend eslint --fix --config eslint.config.mjs",
"prettier --write"
],
"worker/**/*.{ts,js}": [
"bun --cwd=worker eslint --fix --config eslint.config.mjs",
"prettier --write"
],
"packages/shared/**/*.{ts,js}": [
"bun --cwd=packages/shared eslint --fix --config eslint.config.mjs",
"prettier --write"
],
"packages/contracts/**/*.{ts,js}": [
"bun --cwd=packages/contracts eslint --fix --config eslint.config.mjs",
"prettier --write"
],
"packages/component-sdk/**/*.{ts,js}": [
"bun --cwd=packages/component-sdk eslint --fix --config eslint.config.mjs",
"prettier --write"
],
"packages/backend-client/**/*.{ts,js}": [
"bun --cwd=packages/backend-client eslint --fix --config eslint.config.mjs",
"prettier --write"
],
"*.{json,md,yml,yaml}": "prettier --write"
},
"overrides": {
"multer": ">=2.1.0",
"fast-xml-parser": ">=5.3.5"
},
"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"
}
}