-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
138 lines (138 loc) · 4.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "clean-ts",
"version": "1.0.0",
"homepage": "https://gitlab.com/moein9gh/base",
"repository": {
"url": "https://gitlab.com/moein9gh/base"
},
"description": "nodejs app based on clean-arch",
"main": "./dist/bin/index.js",
"scripts": {
"build": "rimraf ./dist && tsc -p tsconfig-build.json",
"dev": "nodemon ./dist/bin/index.js",
"start": "node dist/bin/index.js",
"start:debug": "tsc-watch -outDir ./dist --onSuccess \"ts-node ./src/bin/index.ts\" --onFailure \"echo failed to compile ts project\"",
"start:dev": "tsc-watch -outDir ./dist --onSuccess \"tsnd --inspect=0.0.0.0:9229 ./src/bin/index.ts\" --onFailure \"echo failed to compile ts project\"",
"start:prod": "tsc-watch -outDir ./dist --onSuccess \"nodemon ./dist/bin/index.js\" --onFailure \"echo failed to compile ts project\"",
"docker:up": "docker-compose -f ./src/docker/dev-docker-compose.yml --env-file ./src/env/.env up --build",
"docker:down": "docker-compose -f ./src/docker/dev-docker-compose.yml --env-file ./src/env/.env down",
"lint": "eslint 'src/**/*.ts'",
"lint:fix": "eslint 'src/**/*.ts' --fix",
"format": "prettier --config .prettierrc 'src/**/*.ts' --write",
"prepare": "husky install",
"test": "jest --verbose",
"test:watch": "jest --verbose --watch"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint-staged"
}
},
"lint-staged": {
"src/**/*.ts": "npm run lint:fix"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@types/jest": "^29.2.5",
"@types/mongodb": "^4.0.7",
"@types/request": "^2.48.8",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"concurrently": "^7.6.0",
"copyfiles": "^2.4.1",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "8.0.3",
"jest": "^29.3.1",
"jest-cli": "^29.3.1",
"lint-staged": "13.1.0",
"nodemon": "^2.0.20",
"pm2": "^5.2.2",
"prettier": "^2.8.3",
"request": "^2.88.2",
"rimraf": "^3.0.2",
"supertest": "^6.3.3",
"ts-jest": "^29.0.5",
"tsc-watch": "^6.0.0",
"typescript": "^4.9.3"
},
"_moduleAliases": {
"@store": "dist/store/index.js",
"@gateway": "dist/gateway/index.js",
"@DI": "dist/DI/index.js",
"@interactor": "dist/interactor/index.js",
"@config": "dist/config/index.js",
"@model": "dist/model/index.js",
"@entity": "dist/entity/index.js",
"@migrations": "dist/migrations/index.js",
"@utils": "dist/utils/index.js",
"@ports": "dist/ports/index.js",
"@log": "dist/log/index.js",
"@doc": "dist/doc/index.js",
"@repository": "dist/repository/index.js",
"@types": "dist/types/index.js",
"@dto": "dist/dto/index.js"
},
"dependencies": {
"@grpc/grpc-js": "^1.8.0",
"@grpc/proto-loader": "^0.7.4",
"@opentelemetry/api": "^1.4.0",
"@opentelemetry/auto-instrumentations-node": "^0.36.0",
"@opentelemetry/exporter-trace-otlp-http": "^0.35.0",
"@opentelemetry/sdk-node": "^0.35.0",
"@types/axios": "^0.14.0",
"@types/cors": "^2.8.13",
"@types/debug": "^4.1.7",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.14",
"@types/express-graphql": "^0.9.0",
"@types/express-prometheus-middleware": "^1.2.1",
"@types/express-winston": "^4.0.0",
"@types/graphql": "^14.5.0",
"@types/helmet": "^4.0.0",
"@types/jsonwebtoken": "^9.0.0",
"@types/node": "^18.11.11",
"@types/npmlog": "^4.1.4",
"@types/pg": "^8.6.6",
"@types/redis": "^4.0.11",
"@types/swagger-jsdoc": "^6.0.1",
"@types/swagger-ui-express": "^4.1.3",
"@types/winston": "^2.4.4",
"@types/ws": "^8.5.3",
"axios": "^1.2.2",
"cors": "^2.8.5",
"debug": "^4.3.4",
"dotenv": "^16.0.3",
"eslint-plugin-unused-imports": "^2.0.0",
"express": "^4.18.2",
"express-graphql": "^0.12.0",
"express-prometheus-middleware": "^1.2.0",
"express-rate-limit": "^6.7.0",
"express-winston": "^4.2.0",
"graphql": "^15.8.0",
"helmet": "^6.0.1",
"i18next": "^22.4.9",
"i18next-http-middleware": "^3.2.2",
"i18next-node-fs-backend": "^2.1.3",
"inversify": "^6.0.1",
"jsonwebtoken": "^9.0.0",
"module-alias": "^2.2.2",
"module-alias-jest": "^0.0.3",
"mongodb": "^4.13.0",
"npmlog": "^7.0.1",
"pg": "^8.8.0",
"redis": "^4.5.1",
"reflect-metadata": "^0.1.13",
"swagger-jsdoc": "^6.2.7",
"swagger-ui-express": "^4.6.0",
"ts-node-dev": "^2.0.0",
"winston": "^3.8.2",
"ws": "^8.11.0"
}
}