-
-
Notifications
You must be signed in to change notification settings - Fork 76
/
package.json
77 lines (77 loc) · 2.69 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "@codeimage/api",
"version": "0.5.0",
"description": "CodeImage api rest server",
"main": "app.ts",
"type": "module",
"directories": {
"test": "test"
},
"exports": {
"./api-types": {
"types": "./index.d.ts"
}
},
"scripts": {
"test": "vitest",
"test:coverage": "vitest --coverage",
"test:unit": "RUN_TEST=unit vitest run",
"test:integration": "RUN_TEST=integration vitest run",
"test:ui": "vitest --ui",
"start": "npm run build:ts && fastify start -l info dist/app.js",
"start:railway": "fastify start -l info dist/app.js",
"typecheck": "tsc --noEmit --skipLibCheck --project tsconfig.json",
"typecheck:ci": "tsc --skipLibCheck --project tsconfig.dts.json",
"dev": "NODE_OPTIONS='--enable-source-maps' && tsup --watch --onSuccess \"fastify start --port 3000 --options -d -l info -P dist/app.js\"",
"build:ts": "tsc",
"build:types": "tsc -p tsconfig.schema.json",
"watch:ts": "tsc -w",
"prisma:migrate:dev": "prisma migrate dev",
"prisma:migrate:test": "dotenv -e .env.test -- pnpm exec prisma migrate dev",
"prisma:migrate:deploy": "prisma migrate deploy",
"prisma:migrate:deploy-test": "dotenv -e .env.test -- pnpm exec prisma migrate deploy",
"prisma:migrate:reset-test": "dotenv -e .env.test -- pnpm exec prisma migrate reset --force",
"prisma:generate": "prisma generate dev && pnpm --filter=@codeimage/prisma-models build",
"docker:dev": "docker compose -f docker-compose.dev.yml up",
"dev:start": "tsx watch node_modules/fastify-cli/cli.js start --ignore-watch=.ts$ -w -l info -P src/app.ts"
},
"keywords": [],
"author": "Riccardo Perra",
"license": "ISC",
"dependencies": {
"@codeimage/prisma-models": "workspace:*",
"@fastify/autoload": "^5.7.1",
"@fastify/cors": "^8.3.0",
"@fastify/env": "^4.2.0",
"@fastify/jwt": "^6.7.1",
"@fastify/sensible": "^5.2.0",
"@fastify/swagger": "^8.5.1",
"@fastify/swagger-ui": "^1.8.1",
"@fastify/type-provider-typebox": "^3.2.0",
"@prisma/client": "^4.15.0",
"@sinclair/typebox": "^0.28.15",
"close-with-grace": "^1.2.0",
"dotenv": "^16.3.1",
"dotenv-cli": "^6.0.0",
"fastify": "^4.18.0",
"fastify-auth0-verify": "^1.2.0",
"fastify-cli": "^5.7.1",
"fastify-healthcheck": "^4.4.0",
"fastify-plugin": "^4.5.0",
"fluent-json-schema": "^4.1.0",
"prisma": "^4.15.0"
},
"devDependencies": {
"@types/node": "^18.16.17",
"@types/sinon": "^10.0.15",
"@vitest/ui": "^0.31.4",
"concurrently": "^7.6.0",
"fastify-tsconfig": "^1.0.1",
"sinon": "^15.1.2",
"tsup": "6.7.0",
"tsx": "3.12.7",
"typescript": "~5.3.2",
"vite": "^4.5.1",
"vitest": "^0.31.4"
}
}