-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
41 lines (41 loc) · 1.22 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
{
"name": "sprint6",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "jest --runInBand --verbose",
"dev": "nodemon src/index.ts",
"docker": "docker start sprint6 || npm run docker:create",
"docker:create": "docker run -e MYSQL_ROOT_PASSWORD=example -e MYSQL_DATABASE=mydb -dp3307:3306 --name sprint6 mysql:latest",
"build": "tsc && node --env-file=.env --watch dist/index.js",
"migrate": "npx prisma migrate dev",
"generate": "npx prisma generate",
"eslint": "eslint --debug \"./**/*.{js,ts}\"",
"test:games": "npx jest api_games.test.ts",
"test:players": "npx jest api_players.test.ts"
},
"author": "",
"license": "ISC",
"dependencies": {
"@prisma/client": "^5.10.2",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"eslint": "^9.0.0",
"express": "^4.19.2",
"jsonwebtoken": "^9.0.2",
"nodemon": "^3.1.0"
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/jsonwebtoken": "^9.0.6",
"@types/node": "^20.11.24",
"@types/supertest": "^6.0.2",
"jest": "^29.7.0",
"supertest": "^6.3.4",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2"
}
}