-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 1.88 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
{
"name": "i-beer",
"version": "0.0.0",
"main": "build/src/main.js",
"description": "A simple API to e-commerce beer",
"engines": {
"node": ">= 20.0"
},
"devDependencies": {
"@faker-js/faker": "^8.3.1",
"@swc/core": "^1.3.100",
"@swc/jest": "^0.2.29",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "~29.5",
"@types/node": "~18",
"@typescript-eslint/eslint-plugin": "~6.2",
"@typescript-eslint/parser": "~6.2",
"eslint": "~8.46",
"eslint-config-prettier": "~9.0",
"eslint-plugin-jest": "~27.2",
"jest": "~29.6",
"nodemon": "^3.0.2",
"prettier": "~3.0",
"rimraf": "~5.0",
"ts-jest": "~29.1",
"ts-node": "^10.9.1",
"typescript": "~5.1"
},
"scripts": {
"dev": "yarn --env-file=.env nodemon --legacy-watch",
"docker:up": "docker compose --env-file .env up -d --build --force-recreate app_dev",
"docker:migrate": "docker compose --env-file .env exec app_dev yarn prisma migrate reset",
"start": "node build/src/main.js",
"clean": "rimraf coverage build tmp",
"prebuild": "npm run lint",
"build": "tsc -p tsconfig.json",
"build:watch": "tsc -w -p tsconfig.json",
"build:release": "npm run clean && tsc -p tsconfig.release.json",
"lint": "eslint . --ext .ts --ext .mts",
"test": "jest --coverage",
"test:watch": "jest --watch",
"prettier": "prettier --config .prettierrc --write .",
"type-check": "tsc --noEmit"
},
"prisma": {
"seed": "ts-node prisma/seed.ts -r tsconfig-paths/register"
},
"author": "André Oliveira Silva",
"license": "Apache-2.0",
"dependencies": {
"@prisma/client": "^5.7.1",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"module-alias": "^2.2.3",
"mongoose": "^8.0.3",
"prisma": "^5.7.1"
},
"_moduleAliases": {
"@": "src"
},
"volta": {
"node": "20.0.0"
}
}