-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 1.83 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
{
"name": "todo-backend",
"version": "0.0.1",
"description": "Todo App using hapi js",
"author": "bibekgupta3333@gmail.com",
"license": "MIT",
"dependencies": {
"@hapi/boom": "^9.1.4",
"@hapi/hapi": "^20.2.2",
"@hapi/inert": "^6.0.5",
"@hapi/vision": "^6.1.0",
"@prisma/client": "^3.12.0",
"dotenv": "^16.0.0",
"eslint": "^8.13.0",
"hapi-pino": "^9.3.0",
"hapi-swagger": "^14.3.0",
"pino-pretty": "^7.6.1",
"prisma": "^3.12.0"
},
"devDependencies": {
"@babel/preset-typescript": "^7.16.7",
"@types/hapi-pino": "^8.0.5",
"@types/hapi__hapi": "^20.0.10",
"@types/hapi__inert": "^5.2.3",
"@types/hapi__joi": "^17.1.8",
"@types/hapi__vision": "^5.5.3",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"c8": "^7.11.2",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.5.1",
"prettier": "^2.6.2",
"ts-node": "^10.7.0",
"ts-node-dev": "^1.1.8",
"typescript": "^4.6.3",
"vitest": "^0.9.3"
},
"scripts": {
"build": "prisma generate && tsc",
"start": "node dist/index.js",
"compile": "tsc",
"dev": "ts-node-dev --respawn ./src/index.ts",
"format": "prettier --write \"src/**/*.ts\" ",
"lint": "eslint --ext .ts src/**/*.ts",
"vitest": "vitest",
"vitest:coverage": "vitest run --coverage",
"postgres:start": "docker-compose up -d",
"db:push": "prisma db push --preview-feature",
"migrate:reset": "prisma migrate reset",
"migrate:create": "prisma migrate dev --create-only",
"migrate:dev": "npx prisma migrate dev",
"migrate:dev:create": "npx prisma migrate dev --create-only",
"migrate:deploy": "npx prisma migrate deploy",
"prisma:generate": "npx prisma generate",
"prisma:studio": "npx prisma studio"
}
}