-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
103 lines (103 loc) · 3.67 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "tanpo",
"version": "1.0.0",
"description": "RESTful API tanpo for Node.js, Express, TypeScript, Prisma, and Postgres",
"main": "src/entry.ts",
"repository": "[email protected]:tanpo/tanpo.git",
"author": "jefferyhus <[email protected]>",
"license": "none",
"private": true,
"devDependencies": {
"@faker-js/faker": "^8.4.1",
"@graphql-codegen/cli": "^5.0.2",
"@types/body-parser": "^1.19.5",
"@types/connect": "^3.4.38",
"@types/connect-redis": "^0.0.23",
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/express-serve-static-core": "^4.19.5",
"@types/express-session": "^1.18.0",
"@types/jest": "^29.5.12",
"@types/jsonwebtoken": "^9.0.6",
"@types/module-alias": "^2.0.4",
"@types/morgan": "^1.9.9",
"@types/node": "^20.14.11",
"@types/swagger-ui-express": "^4.1.6",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"husky": "^9.1.1",
"jest": "^29.7.0",
"jest-mock-extended": "^3.0.7",
"nodemon": "^3.1.4",
"prettier": "^3.3.3",
"prisma": "^5.17.0",
"ts-jest": "^29.2.3",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.5.4"
},
"dependencies": {
"@asteasolutions/zod-to-openapi": "^7.1.1",
"@prisma/client": "^5.17.0",
"@sentry/node": "^8.19.0",
"@sentry/profiling-node": "^8.19.0",
"@sentry/tracing": "^7.114.0",
"@types/morgan": "^1.9.9",
"body-parser": "^1.20.3",
"bullmq": "^5.10.3",
"connect-redis": "^7.1.1",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.21.1",
"express-openapi": "^12.1.3",
"express-session": "^1.18.1",
"helmet": "^7.1.0",
"ioredis": "^5.4.1",
"jsonwebtoken": "^9.0.2",
"module-alias": "^2.2.3",
"morgan": "^1.10.0",
"openapi3-ts": "^4.3.3",
"reflect-metadata": "^0.2.2",
"stripe": "^16.2.0",
"swagger-ui-express": "^5.0.1",
"typedi": "^0.10.0",
"uuid": "^10.0.0",
"winston": "^3.13.1",
"zod": "^3.23.8"
},
"scripts": {
"prepare": "husky",
"test": "jest --config jest.config.js",
"test:watch": "jest --config jest.config.js --watch",
"test:coverage": "jest --config jest.config.js --coverage",
"lint": "eslint --fix --ext .ts --ignore-path .eslintignore ./src",
"pretty": "prettier **/*.ts --write",
"start": "ts-node ./src/server.ts",
"start:local:dev": "nodemon --max-old-space-size=2048 ./dist/server.js",
"build": "tsc",
"prisma:generate": "prisma generate",
"watch": "tsc --watch",
"db:seed": "ts-node ./src/scripts/seed.ts",
"docker:network": "docker network create --driver=bridge --label=tanpo tanpo_network",
"docker:compose:dev": "docker compose -f dev.compose.yml up -d --build",
"docker:compose:prod": "docker compose -f prod.compose.yml up -d --build",
"docker:logs": "docker logs tanpo",
"docker:logs:follow": "docker logs --tail 20 tanpo --follow",
"docker:npm": "docker exec -u root -t tanpo npm install",
"docker:db:generate": "docker exec -u root -i -t tanpo npx prisma generate",
"docker:db:migrate": "docker exec -u root -i -t tanpo npx prisma migrate dev",
"docker:db:deploy": "docker exec -i -t tanpo npx prisma db push",
"docker:db:migrate:reset": "docker exec -i -t tanpo npx prisma migrate reset",
"docker:db:migrate:seed": "docker exec -i -t tanpo npx prisma db seed"
},
"_moduleAliases": {
"@": "dist"
}
}