-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 2.03 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
{
"name": "study",
"version": "1.0.0",
"description": "just to learn node.js",
"main": "index.js",
"scripts": {
"test": "chmod +x scripts/test.sh && ./scripts/test.sh",
"stop:test:vls": "docker compose -f docker/docker-compose.test.yml down -v",
"test:exec": "jest --passWithNoTests --detectOpenHandles tests",
"test:exec:coverage": "npm run test:exec -- --coverage",
"setup": "chmod +x scripts/setup.sh && ./scripts/setup.sh",
"build": "npx tsc -p tsconfig.prod.json && npx tsc-alias -p tsconfig.prod.json",
"start:prod": "NODE_ENV=production node build/index.js",
"start:watch": "nodemon --watch 'build' --watch 'src/swagger.json' --exec 'node build/index.js'",
"tsc:watch": "nodemon --watch 'tsconfig.json' --exec 'tsc -w'",
"tsc-alias:watch": "nodemon --watch 'tsconfig.json' --exec 'tsc-alias -w'",
"eslint:watch": "nodemon --watch 'src' --ext 'js,ts' --exec 'eslint src' --delay 500ms",
"dev:docker": "concurrently \"npm:eslint:watch\" \"npm:tsc:watch\" \"npm:tsc-alias:watch\" \"npm:start:watch\"",
"dev": "docker compose -f docker/docker-compose.yml up",
"stop": "docker compose -f docker/docker-compose.yml down",
"stop:vls": "docker compose -f docker/docker-compose.yml down -v"
},
"keywords": [
"study"
],
"author": "mateusvrs",
"license": "MIT",
"dependencies": {
"@prisma/client": "^5.18.0",
"express": "^4.19.2",
"swagger-ui-express": "^5.0.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@eslint/js": "^9.9.0",
"@stylistic/eslint-plugin": "^2.6.2",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/node": "^22.1.0",
"@types/supertest": "^6.0.2",
"@types/swagger-ui-express": "^4.1.6",
"concurrently": "^8.2.2",
"eslint": "^9.9.0",
"globals": "^15.9.0",
"jest": "^29.7.0",
"nodemon": "^3.1.4",
"prisma": "^5.18.0",
"supertest": "^7.0.0",
"ts-jest": "^29.2.4",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.10",
"typescript": "^5.5.4",
"typescript-eslint": "^8.1.0"
}
}