generated from CodelyTV/typescript-ddd-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.75 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
{
"name": "typescript-ddd-skeleton",
"version": "1.0.0",
"description": "",
"repository": {
"url": "https://github.com/CodelyTV/typescript-ddd-skeleton"
},
"license": "",
"engines": {
"node": ">=14.0.0",
"npm": ">=6.14.0"
},
"scripts": {
"dev:mooc:backend": "NODE_ENV=dev ts-node-dev --ignore-watch node_modules ./src/apps/mooc/backend/start.ts",
"lint": "tslint 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",
"test:features": "npm run test:mooc:backend:features",
"test:mooc:backend:features": "NODE_ENV=test cucumber-js -p mooc_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"
},
"dependencies": {
"body-parser": "^1.19.0",
"bodybuilder": "^2.4.0",
"bson": "^4.5.2",
"compression": "^1.7.4",
"connect-flash": "^0.1.1",
"convict": "6.2.1",
"cookie-parser": "^1.4.5",
"cookie-session": "^1.4.0",
"copy": "^0.3.2",
"errorhandler": "^1.5.1",
"express": "^4.17.1",
"express-promise-router": "^4.1.0",
"express-validator": "^6.12.2",
"glob": "^7.2.0",
"helmet": "^4.6.0",
"http-status": "^1.5.0",
"mongodb": "4.3.1",
"node-dependency-injection": "^2.7.1",
"nunjucks": "^3.2.3",
"ts-node": "^10.2.1",
"typeorm": "0.2.41",
"typescript": "^4.4.3",
"uuid-validate": "0.0.3",
"winston": "^3.3.3"
},
"devDependencies": {
"@types/bson": "^4.0.5",
"@types/compression": "^1.7.2",
"@types/connect-flash": "0.0.37",
"@types/convict": "6.1.1",
"@types/cookie-parser": "^1.4.2",
"@types/cookie-session": "^2.0.43",
"@types/cucumber": "^6.0.1",
"@types/errorhandler": "1.5.0",
"@types/express": "^4.17.13",
"@types/faker": "^5.5.8",
"@types/glob": "^7.1.4",
"@types/helmet": "0.0.48",
"@types/jest": "^27.0.2",
"@types/node": "^16.10.2",
"@types/nunjucks": "^3.2.0",
"@types/supertest": "^2.0.11",
"@types/uuid-validate": "0.0.1",
"cucumber": "^6.0.5",
"faker": "^5.5.3",
"husky": "^7.0.2",
"jest": "^27.2.4",
"lint-staged": "11.2.0",
"prettier": "^2.4.1",
"supertest": "^6.1.6",
"ts-jest": "^27.0.5",
"ts-node-dev": "^1.1.8",
"tslint": "^6.1.3",
"tslint-config-prettier": "~1.18.0",
"tslint-eslint-rules": "^5.4.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src,tests}/**/*.ts": [
"prettier --write",
"tslint --fix",
"git add"
]
}
}