49 lines
1.8 KiB
JSON
49 lines
1.8 KiB
JSON
{
|
|
"name": "liansyn-platform",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"scripts": {
|
|
"dev": "node --env-file=.env --import tsx control-plane/src/migrate.ts && node --env-file=.env --import tsx control-plane/src/server.ts",
|
|
"start:platform-adapter": "node --env-file=LianSyn-platform/.env LianSyn-platform/server.mjs",
|
|
"build": "tsc -p tsconfig.json",
|
|
"start": "tsc -p tsconfig.json && node --env-file=.env .build/control-plane/src/migrate.js && node --env-file=.env .build/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",
|
|
"check:repo": "node --test tools/repository-hygiene.test.mjs",
|
|
"test:control-plane": "node --test --import tsx control-plane/test/*.test.ts",
|
|
"test:legacy": "node --test tools/*.test.mjs LianSyn-platform/*.test.mjs",
|
|
"test": "node --run check && node --run test:control-plane && node --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",
|
|
"exceljs": "^4.4.0",
|
|
"fastify": "^5.4.0",
|
|
"pg": "^8.13.1",
|
|
"pino": "^9.6.0",
|
|
"ws": "^8.21.3",
|
|
"yauzl": "^3.4.0",
|
|
"zod": "^3.24.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.7",
|
|
"@types/pg": "^8.11.10",
|
|
"@types/ws": "^8.18.1",
|
|
"@types/yauzl": "^3.4.0",
|
|
"ajv": "^8.20.0",
|
|
"ajv-formats": "^3.0.1",
|
|
"jszip": "^3.10.1",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.3"
|
|
}
|
|
}
|