57 lines
1.7 KiB
JSON

{
"name": "@olli/backend",
"version": "1.0.0",
"description": "",
"main": "index.ts",
"type": "module",
"scripts": {
"dev": "source .env && tsx -r tsconfig-paths/register --inspect=0.0.0.0:$PORT_INSPECT src/index.ts | pino-pretty -i component,retention,logId",
"dev:watch": "nodemon -e ts --exec 'source .env && tsx -r tsconfig-paths/register --inspect=0.0.0.0:$PORT_INSPECT src/index.ts' | pino-pretty -i component,retention,logId",
"build": "tsc",
"start": "node dist/index.js",
"check-types": "tsc --noEmit",
"migrate:up": "kysely migrate:up",
"migrate:down": "kysely migrate:down",
"test": "vitest run",
"test:watch": "vitest --watch",
"test:unit": "vitest run --project unit",
"test:integration": "vitest run --project integration",
"export-openapi": "tsx scripts/export-openapi.ts"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@fastify/cors": "^11.0.1",
"@fastify/swagger": "^9.4.2",
"@fastify/swagger-ui": "^5.2.2",
"@fastify/type-provider-typebox": "^6.1.0",
"env-schema": "^6.0.1",
"fastify": "^5.2.2",
"fastify-plugin": "^5.1.0",
"kysely": "^0.28.8",
"pg": "^8.16.3",
"pino": "^10.1.0",
"typebox": "^1.0.61"
},
"devDependencies": {
"@olli/ts-config": "workspace:*",
"@testcontainers/postgresql": "^11.10.0",
"@types/node": "^22.13.17",
"@types/pg": "^8.15.6",
"@vitest/coverage-v8": "^3.1.2",
"kysely-ctl": "^0.19.0",
"pino-pretty": "^13.0.0",
"testcontainers": "^11.10.0",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.19.3",
"typescript": "^5.8.2",
"vitest": "^3.1.2"
},
"lint-staged": {
"**/*.{ts,tsx,mts,cts,js,cjs,mjs,json,jsonc}": [
"biome check --write --no-errors-on-unmatched"
]
}
}