forked from adottami/adottami-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 3.1 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "adottami-backend",
"version": "0.0.0",
"repository": "[email protected]:es-2021-2-grupo-2/adottami-backend.git",
"private": true,
"prisma": {
"seed": "ts-node --transpile-only prisma/seed.ts"
},
"scripts": {
"dev": "concurrently \"yarn build:generate --watch\" \"nodemon\"",
"start": "node build/shared/infra/http/server.js",
"build": "yarn build:clear && yarn build:generate",
"build:clear": "rimraf build/*",
"build:generate": "swc src --config-file .swcrc.json --out-dir build",
"lint": "eslint --ext js,jsx,ts,tsx --cache",
"style": "prettier --loglevel warn --ignore-unknown --no-error-on-unmatched-pattern",
"style:check": "yarn style --check",
"style:format": "yarn style --write",
"test": "node --expose-gc --no-compilation-cache ./node_modules/jest/bin/jest --logHeapUsage",
"test:ci": "yarn test --maxWorkers=100%",
"types:check": "tsc --pretty --noEmit",
"db:push": "dotenv -e .env.development -- yarn prisma db push",
"db:seed": "dotenv -e .env.development -- yarn prisma db seed",
"db:migrate": "dotenv -e .env.development -- yarn prisma migrate dev",
"prisma:studio": "dotenv -e .env.development -- yarn prisma studio",
"db:up": "docker-compose up -d",
"db:stop": "docker-compose stop",
"db:down": "docker-compose down",
"pre:commit": "lint-staged",
"pre:push": "concurrently \"yarn types:check\" \"yarn lint . --max-warnings 0\" \"yarn style:check .\" \"yarn test\"",
"prepare": "husky install"
},
"dependencies": {
"@prisma/client": "^4.0.0",
"bcrypt": "^5.0.1",
"cloudinary": "^1.30.0",
"cors": "^2.8.5",
"dotenv": "^16.0.1",
"express": "^4.18.1",
"express-async-errors": "^3.1.1",
"fs-extra": "^10.1.0",
"jest-environment-node": "^28.1.2",
"jsonwebtoken": "^8.5.1",
"multer": "^1.4.5-lts.1",
"reflect-metadata": "^0.1.13",
"ts-node": "^10.9.1",
"tsyringe": "^4.7.0",
"uuid": "^8.3.2"
},
"devDependencies": {
"@swc/cli": "^0.1.57",
"@swc/core": "^1.2.205",
"@swc/jest": "^0.2.21",
"@types/bcrypt": "^5.0.0",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^28.1.3",
"@types/jsonwebtoken": "^8.5.8",
"@types/multer": "^1.4.7",
"@types/node": "^18.0.0",
"@types/supertest": "^2.0.12",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"chokidar": "^3.5.3",
"concurrently": "^7.2.2",
"cross-env": "^7.0.3",
"dotenv-cli": "^5.1.0",
"eslint": "^8.18.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.1.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-import-helpers": "^1.2.1",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^8.0.1",
"jest": "^28.1.1",
"jest-watch-typeahead": "^1.1.0",
"lint-staged": "^13.0.3",
"nodemon": "^2.0.18",
"prettier": "^2.7.1",
"prisma": "^4.0.0",
"rimraf": "^3.0.2",
"supertest": "^6.2.3",
"typescript": "^4.7.4"
}
}