-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
96 lines (96 loc) · 3.79 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
{
"name": "clean-node-login-api-js",
"version": "1.0.6",
"main": "src/main/index.js",
"description": "NodeJs Rest API using TDD, Clean Architecture and Design Patterns",
"repository": "https://github.com/gftf2011/clean-node-login-api-js.git",
"author": "Gabriel Ferraz <gftf2011@gmail.com>",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/node": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.16.4",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.16.4",
"@commitlint/config-conventional": "^14.1.0",
"commitizen": "^4.2.4",
"commitlint": "^14.1.0",
"cz-conventional-changelog": "3.3.0",
"eslint": "^8.2.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^25.2.4",
"eslint-plugin-prettier": "^4.0.0",
"faker": "5.5.3",
"faker-br": "^0.4.1",
"husky": "^7.0.0",
"jest": "^27.3.1",
"lint-staged": "^11.2.6",
"prettier": "^2.4.1",
"snyk": "^1.789.0",
"supertest": "^6.1.6"
},
"scripts": {
"docs": "node docs/index.js",
"docker:clear": "docker-compose down && npm run docker:delete:volumes",
"docker:up": "docker-compose up -d --remove-orphans",
"docker:down": "docker-compose down",
"docker:delete:volumes": "docker volume prune -f",
"build:dev": "rm -rf .env && cat ./env/dev/.env >> .env",
"build:test": "rm -rf .env && cat ./env/test/.env >> .env",
"build:docker:dev": "rm -rf docker-compose.yml && cat docker/dev/docker-compose.yml >> docker-compose.yml",
"build:docker:test": "rm -rf docker-compose.yml && cat docker/test/docker-compose.yml >> docker-compose.yml",
"docker:dev:run": "npm run build:dev && npm run build:docker:dev && npm run docker:up",
"docker:test:run": "npm run build:test && npm run build:docker:test && npm run docker:clear && npm run docker:up && npm run test",
"build": "npx babel src/ -d dist/",
"start": "node src/main/index.js",
"start:build": "node dist/main/index.js",
"snyk:test": "npx snyk test",
"test": "snyk test && jest --clearCache ; jest --colors --noStackTrace --passWithNoTests --detectOpenHandles",
"test:all": "jest --clearCache ; jest --watchAll --colors --noStackTrace --passWithNoTests --runInBand",
"test:unit": "jest --clearCache ; jest --colors --noStackTrace --passWithNoTests --runInBand --watch -c jest-unit-config.js",
"test:integration": "jest --clearCache ; jest --colors --noStackTrace --passWithNoTests --runInBand --watch -c jest-integration-config.js",
"test:staged": "jest --clearCache ; jest --silent --passWithNoTests --findRelatedTests --verbose --colors --runInBand",
"test:ci": "jest --clearCache ; jest --coverage --noStackTrace --runInBand",
"husky:prepare": "npx husky install",
"snyk:prepare": "npx snyk auth",
"commit": "cz"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"@babel/runtime": "^7.17.0",
"bcrypt": "^5.0.1",
"cors": "^2.8.5",
"cpf-cnpj-validator": "^1.0.3",
"dotenv": "^10.0.0",
"express": "^4.17.2",
"express-brute": "^1.0.1",
"express-brute-redis": "^0.0.1",
"express-rate-limit": "^6.2.0",
"fast-glob": "^3.2.11",
"helmet": "^4.6.0",
"jsonwebtoken": "^8.5.1",
"mongodb": "^4.3.1",
"morgan": "^1.10.0",
"rate-limit-redis": "^2.1.0",
"redis": "3.1.2",
"swagger-ui-express": "^4.3.0",
"validator": "^13.7.0"
},
"resolutions": {
"**/ansi-regex": "^5.0.1",
"**/express-brute/underscore": "^1.12.1",
"**/express-brute-redis/underscore": "^1.12.1",
"**/express-brute-redis/express-brute/underscore": "^1.12.1"
},
"engines": {
"node": "16.x",
"npm": "8.x"
}
}