49 lines
1.4 KiB
JSON
49 lines
1.4 KiB
JSON
{
|
|
"name": "@krona/staff",
|
|
"version": "0.2.4",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"scripts": {
|
|
"dev": "tsx watch src/server.ts",
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"start": "node dist/server.js",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:unit": "vitest run tests/unit",
|
|
"test:integration": "vitest run tests/integration",
|
|
"db:migrate": "node scripts/migrate.mjs up",
|
|
"db:migrate:down": "node scripts/migrate.mjs down",
|
|
"check:migrations": "node scripts/check-migrations.mjs",
|
|
"check:contracts": "node scripts/check-contracts.mjs",
|
|
"check": "npm run lint && npm run typecheck && npm run test && npm run check:migrations && npm run check:contracts && npm run build",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check ."
|
|
},
|
|
"dependencies": {
|
|
"@fastify/helmet": "^13.0.2",
|
|
"@fastify/sensible": "^6.0.3",
|
|
"@fastify/swagger": "^9.5.1",
|
|
"fastify": "^5.6.0",
|
|
"pg": "^8.16.3",
|
|
"ulid": "^3.0.1",
|
|
"yaml": "^2.8.1",
|
|
"zod": "^4.1.5"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.35.0",
|
|
"@redocly/cli": "^2.0.8",
|
|
"@types/node": "^22.18.1",
|
|
"@types/pg": "^8.15.5",
|
|
"ajv": "^8.17.1",
|
|
"eslint": "^9.35.0",
|
|
"prettier": "^3.6.2",
|
|
"tsx": "^4.20.5",
|
|
"typescript": "^5.9.2",
|
|
"typescript-eslint": "^8.43.0",
|
|
"vitest": "^5.0.1"
|
|
}
|
|
}
|