-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
47 lines (47 loc) · 1.43 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
{
"name": "ultimate-node-stack",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"volta": {
"node": "18.13.0"
},
"scripts": {
"build": "rimraf dist && swc ./src -d dist",
"build:prisma": "prisma generate && yarn rebuild:be",
"db:console": "docker compose exec postgres psql -h localhost -U kalairen -d finance",
"db:migrate": "knex migrate:latest",
"docker:db:migrate": "docker compose run backend yarn db:migrate",
"rebuild:be": "docker compose build backend && docker compose rm --stop backend && docker compose up -d backend",
"start": "node dist/index.js",
"start:docker": "yarn build && node --inspect=0.0.0.0 dist/index.js"
},
"dependencies": {
"@apollo/server": "^4.3.0",
"@prisma/client": "4.8.1",
"express": "^4.17.2",
"graphql": "^16.6.0",
"graphql-iso-date": "^3.6.1",
"knex": "^2.4.0",
"morgan": "^1.10.0",
"nanoid": "^4.0.0",
"pg": "^8.7.1",
"typescript": "^4.5.4"
},
"devDependencies": {
"@swc/cli": "^0.1.55",
"@swc/core": "^1.2.127",
"@tsconfig/node16": "^1.0.2",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.13",
"@types/graphql-iso-date": "^3.4.0",
"@types/morgan": "^1.9.3",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"eslint": "^8.6.0",
"prisma": "^4.8.1",
"rimraf": "^4.1.0",
"ts-node": "^10.4.0"
}
}