-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 1.78 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
{
"name": "cleanarchitecture",
"version": "1.0.0",
"description": "",
"main": "dist/main/server.js",
"scripts": {
"build": "rimraf dist && tsc -p tsconfig-build.json",
"build:watch": "npm run build -- --watch",
"start": "node dist/main/server.js",
"dev": "nodemon -L --watch ./dist ./dist/main/server.js",
"up": "concurrently --kill-others-on-fail \"npm run build:watch\" \"docker compose up\"",
"down": "docker compose down",
"test": "jest --passWithNoTests --runInBand --no-cache",
"test:staged": "npm run test -- --findRelatedTests",
"test:ci": "npm run test -- --coverage",
"lint": "eslint --ignore-path .gitIgnore --ext .ts --fix ",
"prepare": "husky install"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@shelf/jest-mongodb": "^4.1.6",
"@types/express": "^4.17.17",
"@types/jest": "^29.4.0",
"@types/node": "^18.11.18",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"concurrently": "^7.6.0",
"eslint": "^8.33.0",
"husky": "^8.0.0",
"jest": "^29.4.1",
"lint-staged": "^13.1.0",
"nodemon": "^2.0.20",
"rimraf": "^4.1.2",
"supertest": "^6.3.3",
"typescript": "^4.9.5"
},
"dependencies": {
"express": "^4.18.2",
"module-alias": "^2.2.2",
"mongodb": "^4.1.6",
"ts-jest": "^29.0.5"
},
"_moduleAliases": {
"@domain": "dist/domain",
"@application": "dist/application",
"@infrastructure": "dist/infrastructure",
"@main": "dist/main"
},
"lint-staged": {
"*.ts": [
"npm run lint",
"npm run test:staged"
]
},
"engines": {
"node": "18.x"
}
}