-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 2.91 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
{
"name": "clean-code-api",
"version": "2.5.5",
"main": "index.js",
"author": "gusttavosouza <[email protected]>",
"license": "MIT",
"devDependencies": {
"@shelf/jest-mongodb": "1.2.3",
"@types/bcrypt": "^5.0.0",
"@types/express": "4.17.1",
"@types/graphql": "^14.5.0",
"@types/graphql-iso-date": "^3.4.0",
"@types/jest": "^27.4.1",
"@types/jsonwebtoken": "^8.5.8",
"@types/mongodb": "3.5.1",
"@types/node": "^17.0.25",
"@types/supertest": "2.0.8",
"@types/swagger-ui-express": "^4.1.3",
"@types/validator": "^13.7.2",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"copyfiles": "^2.4.1",
"coveralls": "^3.1.1",
"eslint": "^8.14.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"git-commit-msg-linter": "^4.1.2",
"husky": "^4.3.8",
"jest": "^27.5.1",
"lint-staged": "^12.4.0",
"mockdate": "^3.0.5",
"nodemon": "^2.0.19",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"supertest": "4.0.2",
"ts-jest": "^27.1.4",
"ts-node": "^10.7.0",
"ts-node-dev": "^2.0.0",
"tsconfig-paths": "^4.0.0",
"tsconfig-replace-paths": "^0.0.11",
"typescript": "^4.6.3"
},
"scripts": {
"start": "node ./dist/main/server.js",
"build:watch": "tsc -w",
"build": "rimraf dist && tsc -p tsconfig.build.json",
"postbuild": "copyfiles -u 1 public/**/* dist/public",
"debug": "nodemon -L --watch ./dist --inspect=0.0.0.0:9222 --nolazy ./dist/main/server.js",
"dev": "yarn build && ts-node-dev -r tsconfig-paths/register src/main/server.ts",
"up": "yarn build && docker compose up",
"down": "docker compose down",
"test": "jest --passWithNoTests --noStackTrace --runInBand --detectOpenHandles",
"test:verbose": "jest --passWithNoTests --runInBand",
"test:unit": "yarn test -- --watch -c jest-unit-config.js",
"test:integration": "yarn test -- --watch -c jest-integration-config.js",
"test:staged": "yarn test --findRelatedTests",
"test:ci": "yarn test --coverage",
"test:coveralls": "yarn test:ci && coveralls < coverage/lcov.info"
},
"dependencies": {
"apollo-server-express": "2.19.1",
"bcrypt": "^5.0.1",
"bson-objectid": "1.3.1",
"express": "4.17.1",
"faker": "5.1.0",
"graphql": "15.4.0",
"graphql-iso-date": "3.6.1",
"jsonwebtoken": "^8.5.1",
"module-alias": "^2.2.2",
"mongo-round": "^1.0.0",
"mongodb": "3.5.1",
"swagger-ui-express": "^4.5.0",
"validator": "^13.7.0"
},
"engines": {
"node": "16.x"
},
"_moduleAliases": {
"@data": "dist/data",
"@domain": "dist/domain",
"@infra": "dist/infra",
"@main": "dist/main",
"@presentation": "dist/presentation",
"@validation": "dist/validation"
}
}