-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 1.99 KB
/
package.json
File metadata and controls
56 lines (56 loc) · 1.99 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
{
"name": "book_end_api",
"version": "1.0.0",
"description": "Uma API RESTful completa e segura construída com Node.js e Express...",
"main": "server.js",
"dependencies": {
"@prisma/client": "^5.15.0",
"bcrypt": "^5.1.1",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"jsonwebtoken": "^9.0.2",
"pg": "^8.11.5"
},
"devDependencies": {
"async-retry": "^1.3.3",
"cross-env": "^10.0.0",
"dotenv-cli": "^10.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.6.0",
"jest": "^29.7.0",
"nodemon": "^3.1.0",
"prettier": "^3.2.5",
"prisma": "^5.15.0",
"supertest": "^7.1.4"
},
"scripts": {
"start": "node src/index.js",
"dev": "npm run services:up && npm run services:wait && nodemon src/index.js",
"test": "npm run services:up:test && npm run services:wait && npm run migrate:test && dotenv -e .env.test -- jest --runInBand",
"posttest": "npm run services:down:test",
"services:up": "docker compose -f infra/compose.yaml --env-file .env up -d",
"services:down": "docker compose -f infra/compose.yaml --env-file .env down",
"lint": "npm run lint:check && npm run format:check",
"lint:check": "eslint .",
"lint:fix": "eslint . --fix",
"format:check": "prettier --check .",
"format:fix": "prettier --write .",
"services:up:test": "docker compose -f infra/compose.yaml --env-file .env.test up -d",
"services:down:test": "docker compose -f infra/compose.yaml --env-file .env.test down",
"services:wait": "node infra/scripts/wait-for-postgres.js",
"migrate:dev": "prisma migrate dev",
"migrate:test": "dotenv -e .env.test -- npx prisma migrate deploy"
},
"repository": {
"type": "git",
"url": "git+https://github.com/alissonpef/Book-End-API.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/alissonpef/Book-End-API/issues"
},
"homepage": "https://github.com/alissonpef/Book-End-API#readme"
}