-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.27 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 2.27 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
{
"name": "clean-node-api",
"version": "1.3.0",
"description": "NodeJS Rest API using TDD, Clean Architecture and Typescript",
"scripts": {
"start": "node dist/main/server.js",
"build": "rimraf dist && tsc",
"debug": "nodemon -L --watch ./dist --inspect=0.0.0.0:9229 --nolazy ./dist/main/server.js",
"up": "npm run build && docker-compose up -d",
"down": "docker-compose down",
"test": "jest --passWithNoTests --silent --noStackTrace --runInBand --detectOpenHandles",
"test:verbose": "jest --passWithNoTests --runInBand",
"test:unit": "npm test -- --watch -c jest-unit-config.ts",
"test:integration": "npm test -- --watch -c jest-integration-config.ts",
"test:staged": "npm test -- --findRelatedTests",
"test:ci": "npm test -- --coverage",
"test:coveralls": "npm run test:ci && coveralls < ./coverage/lcov.info",
"prepare": "npx husky install"
},
"_moduleAliases": {
"@data": "dist/data",
"@domain": [
"dist/domain"
],
"@infra": [
"dist/infra"
],
"@main": [
"dist/main"
],
"@presentation": [
"dist/presentation"
],
"@validation": [
"dist/validation"
]
},
"lint-staged": {
"*.ts": [
"eslint 'src/**' --fix",
"npm run test:staged"
],
"*.js": "eslint --cache --fix"
},
"keywords": [],
"author": "Daniel Breda",
"license": "ISC",
"devDependencies": {
"@rocketseat/eslint-config": "^2.1.0",
"@shelf/jest-mongodb": "^4.1.7",
"@types/bcrypt": "^5.0.1",
"@types/express": "^4.17.20",
"@types/jest": "^29.5.6",
"@types/mongodb": "^4.0.7",
"@types/node": "^20.8.7",
"@types/supertest": "^2.0.15",
"@types/validator": "^13.11.5",
"coveralls": "^3.1.1",
"eslint": "^8.52.0",
"git-commit-msg-linter": "^5.0.4",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.0.2",
"rimraf": "^5.0.5",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"dependencies": {
"@types/jsonwebtoken": "^9.0.5",
"bcrypt": "^5.1.1",
"express": "^4.18.2",
"jsonwebtoken": "^9.0.2",
"module-alias": "^2.2.3",
"mongodb": "^5.9.0",
"nodemon": "^3.0.2",
"validator": "^13.11.0"
},
"engines": {
"node": "20.x"
}
}