-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 3.04 KB
/
package.json
File metadata and controls
104 lines (104 loc) · 3.04 KB
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
104
{
"name": "task-service",
"version": "1.0.0",
"description": "Production-ready task microservice with TypeScript and MVC pattern",
"main": "dist/server.js",
"scripts": {
"dev": "./scripts/dev.sh",
"dev:container": "tsx watch --clear-screen=false src/server.ts",
"dev:rebuild": "docker-compose down -v && docker-compose up --build",
"dev:build": "docker-compose up --build",
"dev:local": "tsx watch --clear-screen=false src/server.ts",
"dev:detached": "docker-compose up -d",
"dev:logs": "docker-compose logs -f task-service-dev",
"dev:down": "docker-compose down",
"build": "tsc",
"start": "node dist/server.js",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write \"src/**/*.ts\"",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"typeorm": "typeorm-ts-node-commonjs",
"migration:generate": "typeorm-ts-node-commonjs migration:generate",
"migration:run": "typeorm-ts-node-commonjs migration:run -d src/config/database.ts",
"migration:revert": "typeorm-ts-node-commonjs migration:revert -d src/config/database.ts",
"schema:sync": "typeorm-ts-node-commonjs schema:sync -d src/config/database.ts",
"docker:prod": "docker-compose --profile production up task-service-prod",
"docker:clean": "docker-compose down -v",
"prepare": "husky"
},
"keywords": [
"microservice",
"nodejs",
"typescript",
"mvc"
],
"author": "",
"license": "ISC",
"dependencies": {
"@grpc/grpc-js": "^1.14.0",
"@grpc/proto-loader": "^0.8.0",
"amqplib": "^0.10.9",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^17.0.0",
"express": "^4.18.2",
"helmet": "^8.0.0",
"http-status": "^2.0.0",
"joi": "^18.0.0",
"pg": "^8.16.3",
"protobufjs": "^8.0.0",
"reflect-metadata": "^0.2.2",
"typeorm": "^0.3.27",
"uuid": "^13.0.0",
"winston": "^3.11.0"
},
"devDependencies": {
"@eslint/js": "^9.37.0",
"@types/amqplib": "^0.10.7",
"@types/compression": "^1.7.5",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^30.0.0",
"@types/node": "^24.0.0",
"@types/pg": "^8.15.5",
"@types/supertest": "^6.0.2",
"@types/uuid": "^11.0.0",
"protobufjs-cli": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^8.46.1",
"@typescript-eslint/parser": "^8.46.1",
"eslint": "^9.37.0",
"eslint-config-prettier": "^10.0.0",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^9.1.7",
"jest": "^30.0.0",
"lint-staged": "^16.2.4",
"nodemon": "^3.0.2",
"prettier": "^3.1.1",
"supertest": "^7.0.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"tsx": "^4.7.0",
"typescript": "^5.3.3"
},
"engines": {
"node": ">=24.0.0",
"pnpm": ">=8.0.0"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
},
"pnpm": {
"overrides": {
"glob@>=10.0.0 <10.5.0": ">=10.5.0"
}
}
}