60 lines
1.9 KiB
JSON
60 lines
1.9 KiB
JSON
{
|
|
"name": "@repo/api",
|
|
"version": "1.0.0-staging.3",
|
|
"private": true,
|
|
"type": "module",
|
|
"imports": {
|
|
"#*": "./*"
|
|
},
|
|
"exports": {
|
|
".": "./.adonisjs/api.ts"
|
|
},
|
|
"scripts": {
|
|
"start": "node --import=tsx ./bin/server.ts",
|
|
"dev": "node --import=tsx --watch --watch-preserve-output ./bin/server.ts",
|
|
"ace": "node --import=tsx ./bin/console.ts",
|
|
"tuyau": "node --run ace -- tuyau:generate && node --run ace -- tuyau:generate:openapi --destination=\".adonisjs/openapi.yaml\"",
|
|
"build": "node --run tuyau",
|
|
"database:migrate": "node --run ace -- migration:run",
|
|
"test": "c8 node --import=tsx ./bin/test.ts",
|
|
"test-shortest-paths": "node --import=tsx ./shortest-paths-tests.ts",
|
|
"lint:eslint": "eslint . --max-warnings 0 --report-unused-disable-directives",
|
|
"lint:typescript": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@adonisjs/auth": "catalog:",
|
|
"@adonisjs/core": "catalog:",
|
|
"@adonisjs/cors": "catalog:",
|
|
"@adonisjs/lucid": "catalog:",
|
|
"@adonisjs/limiter": "catalog:",
|
|
"@repo/utils": "workspace:*",
|
|
"@repo/wikipedia": "workspace:*",
|
|
"@tuyau/core": "catalog:",
|
|
"@tuyau/utils": "catalog:",
|
|
"@tuyau/openapi": "catalog:",
|
|
"@vinejs/vine": "catalog:",
|
|
"luxon": "catalog:",
|
|
"pg": "catalog:",
|
|
"reflect-metadata": "catalog:",
|
|
"tsx": "catalog:",
|
|
"pino-pretty": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@adonisjs/assembler": "catalog:",
|
|
"@japa/api-client": "catalog:",
|
|
"@japa/assert": "catalog:",
|
|
"@japa/plugin-adonisjs": "catalog:",
|
|
"@japa/runner": "catalog:",
|
|
"@repo/config-typescript": "workspace:*",
|
|
"@repo/eslint-config": "workspace:*",
|
|
"@total-typescript/ts-reset": "catalog:",
|
|
"@types/luxon": "catalog:",
|
|
"@types/node": "catalog:",
|
|
"better-sqlite3": "catalog:",
|
|
"c8": "catalog:",
|
|
"eslint": "catalog:",
|
|
"openapi-types": "catalog:",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|