forked from CodelyTV/typescript-ddd-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 3.64 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
{
"name": "typescript-ddd-skeleton",
"version": "1.0.0",
"description": "",
"repository": {
"url": "https://github.com/CodelyTV/typescript-ddd-skeleton"
},
"license": "",
"engines": {
"node": ">=12.0.0",
"npm": ">=6.7.0"
},
"scripts": {
"dev": "NODE_ENV=dev ts-node-dev --ignore-watch node_modules --inspect=0.0.0.0:9267 ./src/apps/mooc/backend/server.ts",
"dev:backoffice:frontend": "NODE_ENV=dev ts-node-dev --ignore-watch node_modules ./src/apps/backoffice/frontend/server.ts",
"dev:backoffice:backend": "NODE_ENV=dev ts-node-dev --ignore-watch node_modules ./src/apps/backoffice/backend/server.ts",
"test": "npm run test:unit && npm run test:features && npm run cypress:run",
"test:unit": "NODE_ENV=test jest",
"test:features": "npm run test:mooc:backend:features && npm run test:backoffice: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",
"lint": "tslint src/**/*.ts{,x}",
"start": "NODE_ENV=production node dist/src/apps/mooc/backend/server",
"start:backoffice:frontend": "NODE_ENV=production node dist/src/apps/backoffice/frontend/server",
"start:backoffice:backend": "NODE_ENV=production node dist/src/apps/backoffice/backend/server",
"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",
"cypress:open": "NODE_ENV=test ts-node tests/utils/cypress/open",
"cypress:run": "NODE_ENV=test ts-node tests/utils/cypress/run"
},
"dependencies": {
"@elastic/elasticsearch": "^7.10.0",
"@types/bson": "^4.0.3",
"@types/compression": "^1.7.0",
"@types/convict": "^5.2.1",
"@types/errorhandler": "1.5.0",
"@types/express": "^4.17.9",
"@types/glob": "^7.1.3",
"@types/helmet": "0.0.48",
"@types/mongodb": "^3.5.34",
"@types/node": "^14.14.10",
"@types/uuid": "^8.3.0",
"@types/uuid-validate": "0.0.1",
"body-parser": "^1.19.0",
"bson": "^4.2.0",
"compression": "^1.7.4",
"connect-flash": "^0.1.1",
"convict": "^6.0.0",
"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.0.1",
"express-validator": "^6.7.0",
"glob": "^7.1.6",
"helmet": "^4.2.0",
"http-status": "^1.5.0",
"mandrill-api": "^1.0.45",
"mongodb": "^3.6.3",
"node-dependency-injection": "^2.6.8",
"nunjucks": "^3.2.2",
"ts-node": "^9.0.0",
"typescript": "^4.1.2",
"uuid": "^8.3.1",
"uuid-validate": "0.0.3",
"winston": "^3.3.3"
},
"devDependencies": {
"@types/aws-lambda": "^8.10.64",
"@types/connect-flash": "0.0.36",
"@types/cookie-parser": "^1.4.2",
"@types/cookie-session": "^2.0.41",
"@types/cucumber": "^6.0.1",
"@types/faker": "^5.1.4",
"@types/jest": "^26.0.15",
"@types/nunjucks": "^3.1.3",
"@types/supertest": "^2.0.10",
"cucumber": "^6.0.5",
"cypress": "^6.0.0",
"faker": "^5.1.0",
"husky": "^4.3.0",
"jest": "^26.6.3",
"lint-staged": "10.5.2",
"prettier": "^2.2.0",
"supertest": "^6.0.1",
"ts-jest": "^26.4.4",
"ts-node-dev": "^1.0.0",
"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"
]
}
}