-
Notifications
You must be signed in to change notification settings - Fork 214
/
package.json
109 lines (109 loc) · 3.65 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
104
105
106
107
108
109
{
"name": "typescript-ddd-course",
"version": "1.0.0",
"description": "",
"repository": {
"url": "https://github.com/CodelyTV/typescript-ddd-course"
},
"license": "",
"engines": {
"node": ">=12.0.0",
"npm": ">=6.7.0"
},
"scripts": {
"dev:mooc:backend": "NODE_ENV=dev ts-node-dev --ignore-watch node_modules ./src/apps/mooc/backend/start.ts",
"dev:backoffice:frontend": "cd ./src/apps/backoffice/frontend && npm start",
"dev:backoffice:backend": "NODE_ENV=dev ts-node-dev --ignore-watch node_modules ./src/apps/backoffice/backend/start.ts",
"lint": "prettier --write src/**/*.ts{,x}",
"test": "npm run test:unit && npm run test:features",
"test:unit": "NODE_ENV=test jest",
"start:mooc:backend": "NODE_ENV=production node dist/src/apps/mooc/backend/start",
"start:backoffice:backend": "NODE_ENV=production node dist/src/apps/backoffice/backend/start",
"test:features": "npm run test:mooc:backend:features",
"test:mooc:backend:features": "NODE_ENV=test cucumber-js -p mooc_backend",
"test:backoffice:backend:features": "NODE_ENV=test cucumber-js -p backoffice_backend",
"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",
"build:backoffice:frontend": "cd ./src/apps/backoffice/frontend && npm run build",
"command:mooc:rabbitmq": "NODE_ENV=production ts-node src/apps/mooc/backend/command/runConfigureRabbitMQCommand",
"command:backoffice:rabbitmq": "NODE_ENV=production ts-node src/apps/backoffice/backend/command/runConfigureRabbitMQCommand"
},
"dependencies": {
"@elastic/elasticsearch": "^7.11.0",
"amqplib": "^0.8.0",
"body-parser": "^1.19.0",
"bodybuilder": "^2.4.0",
"bson": "^4.4.0",
"compression": "^1.7.4",
"connect-flash": "^0.1.1",
"convict": "^6.2.0",
"cookie-parser": "^1.4.5",
"cookie-session": "^1.4.0",
"copy": "^0.3.2",
"cors": "^2.8.5",
"errorhandler": "^1.5.1",
"express": "^4.17.1",
"express-promise-router": "^4.0.1",
"express-validator": "^6.10.0",
"glob": "^7.1.6",
"helmet": "^4.4.1",
"http-status": "^1.5.0",
"mongodb": "^3.7.3",
"node-dependency-injection": "^2.6.11",
"nunjucks": "^3.2.3",
"pg": "^8.7.1",
"ts-node": "^10.8.1",
"typeorm": "^0.3.10",
"typescript": "^4.2.3",
"uuid": "^8.3.2",
"uuid-validate": "0.0.3",
"winston": "^3.3.3"
},
"devDependencies": {
"@types/amqplib": "^0.8.2",
"@types/bson": "^4.0.3",
"@types/compression": "^1.7.0",
"@types/errorhandler": "1.5.0",
"@types/express": "^4.17.11",
"@types/glob": "^7.1.3",
"@types/helmet": "0.0.48",
"@types/node": "^18.8.5",
"@types/connect-flash": "0.0.36",
"@types/convict": "^6.1.1",
"@types/cookie-parser": "^1.4.2",
"@types/cookie-session": "^2.0.42",
"@types/cors": "^2.8.12",
"@types/cucumber": "^6.0.1",
"@types/faker": "^5.5.7",
"@types/jest": "^26.0.24",
"@types/mongodb": "^3.6.20",
"@types/supertest": "^2.0.10",
"@types/uuid": "^8.3.1",
"@types/uuid-validate": "0.0.1",
"autoprefixer": "^10.4.7",
"cucumber": "^6.0.5",
"faker": "^5.5.3",
"husky": "^5.1.3",
"jest": "^28.1.1",
"lint-staged": "10.5.4",
"postcss": "^8.4.14",
"prettier": "^2.2.1",
"supertest": "^6.1.3",
"tailwindcss": "^3.1.3",
"ts-jest": "^28.0.5",
"ts-node-dev": "^2.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src,tests}/**/*.ts": [
"prettier --write",
"git add"
]
}
}