-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.55 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
{
"name": "api-ts-ddd-skeleton",
"version": "1.0.0",
"description": "",
"repository": {
"url": "https://github.com/emilioriosvz/api-ts-ddd-skeleton"
},
"license": "",
"engines": {
"node": ">=20.18.1",
"npm": ">=10.8.2"
},
"scripts": {
"dev:backoffice": "NODE_ENV=dev ts-node ./src/apps/backoffice/start.ts",
"lint": "eslint --ignore-pattern .gitignore .",
"lint:fix": "npm run lint -- --fix",
"test": "npm run test:unit && npm run test:features",
"test:unit": "NODE_ENV=test jest",
"start:backoffice": "NODE_ENV=production node dist/src/apps/backoffice/start",
"test:features": "npm run test:backoffice:features",
"test:backoffice:features": "NODE_ENV=test cucumber-js -p backoffice",
"build": "npm run build:clean && npm run build:tsc && npm run build:di",
"build:tsc": "tsc -p tsconfig.prod.json",
"build:di": "copy 'src/**/*.{json,yaml,html,png}' dist/src",
"build:clean": "rm -r dist; exit 0",
"command:backoffice:rabbitmq": "NODE_ENV=production ts-node src/apps/backoffice/command/runConfigureRabbitMQCommand"
},
"dependencies": {
"amqplib": "^0.10.5",
"body-parser": "^1.20.3",
"bson": "^6.10.0",
"compression": "^1.7.5",
"copy": "^0.3.2",
"errorhandler": "^1.5.1",
"express": "^4.21.1",
"express-promise-router": "^4.1.1",
"express-validator": "^7.2.0",
"glob": "^11.0.0",
"helmet": "^8.0.0",
"http-status-codes": "^2.3.0",
"ts-node": "^10.9.2",
"typescript": "^5.6.3",
"uuid-validate": "^0.0.3"
},
"devDependencies": {
"@cucumber/cucumber": "^11.1.0",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.15.0",
"@faker-js/faker": "^9.2.0",
"@types/amqplib": "^0.10.5",
"@types/compression": "^1.7.5",
"@types/cucumber": "^6.0.1",
"@types/errorhandler": "1.5.3",
"@types/express": "^4.17.21",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.9.1",
"@types/supertest": "^6.0.2",
"@types/uuid-validate": "^0.0.3",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"eslint": "^9.15.0",
"eslint-config-prettier": "^9.1.0",
"eslint-define-config": "^2.1.0",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "15.2.10",
"prettier": "^3.3.3",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src,tests}/**/*.ts": [
"npm run lint:fix",
"git add"
]
}
}