40 lines
1.4 KiB
JSON
40 lines
1.4 KiB
JSON
{
|
|
"name": "ltjt-business-platform",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"scripts": {
|
|
"dev": "node --env-file=.env --import tsx control-plane/src/server.ts",
|
|
"start:mock": "node --env-file=mock-business-system/.env mock-business-system/server.mjs",
|
|
"build": "tsc -p tsconfig.json",
|
|
"start": "node --env-file=.env dist/control-plane/src/server.js",
|
|
"db:migrate": "node --env-file=.env --import tsx control-plane/src/migrate.ts",
|
|
"admin": "node --env-file=.env --import tsx control-plane/src/admin-cli.ts",
|
|
"data:retention": "node --env-file=.env --import tsx control-plane/src/retention.ts",
|
|
"check": "tsc --noEmit -p tsconfig.json",
|
|
"test:control-plane": "node --test --import tsx control-plane/test/*.test.ts",
|
|
"test:legacy": "node --test tools/operation-plans.test.mjs tools/execution-guard.test.mjs mock-business-system/external-agent-client.test.mjs",
|
|
"test": "npm run check && npm run test:control-plane && npm run test:legacy"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cookie": "^10.0.1",
|
|
"@fastify/helmet": "^13.0.1",
|
|
"@fastify/rate-limit": "^10.2.2",
|
|
"@fastify/static": "^10.1.0",
|
|
"argon2": "^0.41.1",
|
|
"fastify": "^5.4.0",
|
|
"pg": "^8.13.1",
|
|
"pino": "^9.6.0",
|
|
"zod": "^3.24.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.7",
|
|
"@types/pg": "^8.11.10",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.3"
|
|
}
|
|
}
|