-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.29 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 2.29 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
{
"name": "api-node-clean",
"version": "1.0.0",
"description": "API NodeJS with Clean Architecture",
"main": "dist/main/server.js",
"author": "Marcos Campos",
"license": "MIT",
"engines": {
"node": "18"
},
"prisma": {
"schema": "src/infra/schema.prisma"
},
"scripts": {
"prepare": "husky install",
"prisma:test": "dotenv -e .env.test -- prisma migrate dev",
"prisma:dev": "dotenv -e .env -- prisma migrate dev",
"test": "dotenv -e .env.test -- jest --passWithNoTests --runInBand --no-cache",
"test:unit": "npm test -- --watch -c jest-unit-config.js",
"test:integration": "npm test -- --watch -c jest-integration-config.js",
"test:ci": "npm test -- --coverage",
"docker:up": "docker-compose -f docker-compose.yml up -d",
"dev": "dotenv -e .env -- ts-node-dev --respawn --transpile-only --exit-child --watch src -r tsconfig-paths/register src/main/server.ts",
"build": "rimraf dist && tsc -p tsconfig-build.json && tsc-alias -p tsconfig-build.json",
"start": "node dist/main/server.js"
},
"devDependencies": {
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@faker-js/faker": "^6.0.0",
"@types/express": "^4.17.13",
"@types/jest": "^29.2.3",
"@types/jsonwebtoken": "^8.5.8",
"@types/node": "^17.0.22",
"@types/nodemailer": "^6.4.4",
"@types/supertest": "^2.0.12",
"@types/swagger-ui-express": "^4.1.3",
"@types/validator": "^13.7.2",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"dotenv-cli": "^5.0.0",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^7.0.4",
"jest": "^29.3.1",
"lint-staged": "^12.3.7",
"prettier": "^2.7.1",
"prisma": "^3.11.0",
"supertest": "^6.2.2",
"ts-jest": "^29.0.3",
"ts-node-dev": "^1.1.8",
"tsc-alias": "^1.6.5",
"tsconfig-paths": "^3.14.1",
"typescript": "^4.6.2"
},
"dependencies": {
"@prisma/client": "^3.11.0",
"axios": "^1.1.3",
"dotenv": "^16.0.0",
"express": "^4.17.3",
"handlebars": "^4.7.7",
"jsonwebtoken": "^8.5.1",
"nodemailer": "^6.7.4",
"pino": "^7.9.2",
"pino-pretty": "^7.6.0",
"swagger-ui-express": "^4.5.0",
"validator": "^13.7.0"
}
}