forked from lucassm02/nodejs-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
158 lines (158 loc) · 7.31 KB
/
package.json
File metadata and controls
158 lines (158 loc) · 7.31 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
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"name": "template-microservice",
"version": "1.0.0",
"scripts": {
"helm:gen": "NODE_NO_WARNINGS=1 node script/helm/index.mjs",
"helm:gen:production": "NODE_NO_WARNINGS=1 node script/helm/index.mjs -e production --scan-routes",
"helm:gen:development": "NODE_NO_WARNINGS=1 node script/helm/index.mjs -e development --scan-routes",
"helm:gen:homologation": "NODE_NO_WARNINGS=1 node script/helm/index.mjs -e homologation --scan-routes",
"prebuild": "rimraf dist",
"build": "babel src --extensions \".js,.ts\" --out-dir dist --copy-files --no-copy-ignored",
"lint:staged": "yarn lint-staged",
"lint": "yarn eslint src/** --fix",
"start:prod": "node dist/main",
"start:dev": "tsx watch --clear-screen=false src/main",
"start:dev:auto-clear": "tsx watch --clear-screen=true src/main",
"start:debug": "tsx watch --clear-screen=false --inspect src/main",
"worker:start": "node dist/main/scheduler.js",
"worker:dev": "tsx watch --clear-screen=false src/main/worker.ts",
"worker:dash": "yarn tsx src/main/agendash.ts",
"worker:dev:auto-clear": "tsx watch --clear-screen=true src/main/worker.ts",
"worker:debug": "tsx watch --clear-screen=false --inspect src/main/worker.ts",
"server:start": "node dist/main/server.js",
"server:dev": "tsx watch --clear-screen=false src/main/server.ts",
"server:dev:auto-clear": "tsx watch --clear-screen=true src/main/server.ts",
"server:debug": "tsx watch --clear-screen=false --inspect src/main/server.ts",
"consumer:start": "node dist/main/consumer.js",
"consumer:dev": "tsx watch --clear-screen=false src/main/consumer.ts",
"consumer:dev:auto-clear": "tsx watch --clear-screen=true src/main/consumer.ts",
"consumer:debug": "tsx watch --clear-screen=false --inspect src/main/consumer.ts",
"start:dev:legacy": "tsnd -r tsconfig-paths/register --respawn --transpile-only --ignore-watch node_modules --no-notify src/main",
"start:debug:legacy": "tsnd -r tsconfig-paths/register --respawn --transpile-only --ignore-watch node_modules --no-notify --inspect --poll --watch --clear src/main",
"worker:dev:legacy": "tsnd -r tsconfig-paths/register --respawn --transpile-only --ignore-watch node_modules --no-notify src/main/worker.ts",
"worker:debug:legacy": "tsnd -r tsconfig-paths/register --respawn --transpile-only --ignore-watch node_modules --no-notify --inspect --poll --watch --clear src/main/worker.ts",
"server:dev:legacy": "tsnd -r tsconfig-paths/register --respawn --transpile-only --ignore-watch node_modules --no-notify src/main/server.ts",
"server:debug:legacy": "tsnd -r tsconfig-paths/register --respawn --transpile-only --ignore-watch node_modules --no-notify --inspect --poll --watch --clear src/main/server.ts",
"consumer:dev:legacy": "tsnd -r tsconfig-paths/register --respawn --transpile-only --ignore-watch node_modules --no-notify src/main/consumer.ts",
"consumer:debug:legacy": "tsnd -r tsconfig-paths/register --respawn --transpile-only --ignore-watch node_modules --no-notify --inspect --poll --watch --clear src/main/consumer.ts",
"test": "LOGGER_DB_ENABLED=false ELASTICSEARCH_ENABLED=false APM_ENABLED=false jest --passWithNoTests --silent --noStackTrace --runInBand",
"test:verbose": "LOGGER_DB_ENABLED=false ELASTICSEARCH_ENABLED=false APM_ENABLED=false jest --passWithNoTests --verbose",
"test:unit": "yarn test --watch -c jest-unit.config.ts",
"test:integration": "yarn test --watch -c jest-integration.config.ts",
"test:unit:verbose": "yarn test:verbose --watch -c jest-unit.config.ts",
"test:integration:verbose": "yarn test:verbose --verbose --watch -c jest-integration.config.ts",
"test:coverage": "yarn test --coverage",
"prepare": "husky install",
"sonar": "docker run --rm --env-file .env -v $(pwd):/usr/src sonarsource/sonar-scanner-cli"
},
"keywords": [],
"author": "badass-team",
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.22.9",
"@babel/core": "^7.22.10",
"@babel/node": "^7.22.6",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.22.7",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/plugin-transform-modules-commonjs": "^7.22.5",
"@babel/plugin-transform-typescript": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@babel/preset-typescript": "^7.22.5",
"@italog/codegen": "^1.4.0",
"@types/amqplib": "^0.10.1",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/form-data": "^2.5.0",
"@types/jest": "^29.5.3",
"@types/knex": "^0.16.1",
"@types/memjs": "^1.3.0",
"@types/mongodb": "^4.0.7",
"@types/node": "^18.15.11",
"@types/node-schedule": "^2.1.0",
"@types/string-template": "^1.0.2",
"@types/supertest": "^2.0.12",
"@types/uuid": "^9.0.2",
"@types/yup": "^0.29.14",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"babel-plugin-module-resolver": "^5.0.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.10.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-import-helpers": "^1.3.1",
"eslint-plugin-prettier": "^5.0.0",
"git-commit-msg-linter": "^5.0.4",
"husky": "^8.0.3",
"jest": "^29.6.2",
"lint-staged": "^13.2.3",
"prettier": "^3.0.1",
"rimraf": "^5.0.1",
"socket.io-client": "^4.7.3",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"ts-node-dev": "^2.0.0",
"tsconfig-paths": "^4.2.0",
"tsx": "^3.12.7",
"typescript": "^5.1.6",
"yaml": "^2.3.1",
"yargs": "13.2"
},
"dependencies": {
"@badass-team-code/formatted-cases-words": "^1.0.0",
"@elastic/ecs-winston-format": "^1.3.1",
"@elastic/elasticsearch": "^8.9.0",
"@hokify/agenda": "^6.3.0",
"agenda": "^5.0.0",
"agendash": "^4.0.0",
"agentkeepalive": "^4.4.0",
"amqplib": "^0.10.3",
"axios": "^1.4.0",
"cors": "^2.8.5",
"cpf-cnpj-validator": "^1.0.3",
"date-fns": "^2.30.0",
"dotenv": "^16.3.1",
"elastic-apm-node": "^3.49.0",
"express": "^4.18.2",
"form-data": "^4.0.0",
"helmet": "^7.0.0",
"knex": "^2.5.1",
"memjs": "^1.3.1",
"mongodb": "^5.7.0",
"mongoose": "^7.4.2",
"node-schedule": "^2.1.1",
"reflect-metadata": "^0.1.13",
"socket.io": "^4.7.3",
"sqlite3": "^5.1.6",
"string-template": "^1.0.0",
"tedious": "16.4.0",
"uuid": "^9.0.0",
"winston": "^3.10.0",
"winston-daily-rotate-file": "^4.7.1",
"winston-elasticsearch": "^0.17.2",
"winston-transport": "^4.5.0",
"yup": "^1.2.0"
},
"buildDependencies": {
"@babel/cli": "^7.22.9",
"@babel/core": "^7.22.10",
"@babel/node": "^7.22.6",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.22.7",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/plugin-transform-modules-commonjs": "^7.22.5",
"@babel/plugin-transform-typescript": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@babel/preset-typescript": "^7.22.5",
"babel-plugin-module-resolver": "^5.0.0",
"rimraf": "^5.0.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.6"
},
"optionalDependencies": {
"bufferutil": "^4.0.8",
"utf-8-validate": "^6.0.3"
}
}