-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
80 lines (80 loc) · 2.32 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
{
"name": "wall-app-backend",
"version": "1.0.0",
"description": "API for the wall app",
"main": "index.js",
"author": "FelipeTomazEC",
"license": "MIT",
"scripts": {
"test": "jest",
"test:unit": "jest unit",
"dev": "nodemon --watch 'src/' --exec 'ts-node -r dotenv/config -r tsconfig-paths/register src/index.ts' -e ts",
"lint": "tsc && eslint \"src/**\" \"test/**\" --fix && prettier -w src test",
"build": "babel ./src -d build --extensions \".ts\"",
"start": "NODE_ENV=production node -r dotenv/config build/index.js",
"start:migrate": "prisma migrate deploy && yarn start"
},
"prisma": {
"schema": "./src/infra/database/prisma/schema.prisma"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier -w"
]
},
"husky": {
"hooks": {
"pre-commit": "tsc && lint-staged",
"pre-push": "yarn test"
}
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.9",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@types/bcrypt": "^5.0.0",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/faker": "5.5.3",
"@types/jest": "^27.4.1",
"@types/jsonwebtoken": "^8.5.8",
"@types/nodemailer": "^6.4.4",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"babel-plugin-module-resolver": "^4.1.0",
"eslint": "^8.14.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.5",
"faker": "5.5.3",
"husky": "4",
"jest": "^27.5.1",
"lint-staged": "^12.4.0",
"nodemon": "^2.0.15",
"prettier": "^2.6.2",
"prisma": "^3.12.0",
"ts-jest": "^27.1.4",
"ts-node": "^10.7.0",
"tsconfig-paths": "^3.14.1",
"tsconfig-paths-jest": "^0.0.1",
"typescript": "^4.6.3"
},
"dependencies": {
"@babel/runtime": "^7.17.9",
"@prisma/client": "^3.12.0",
"bcrypt": "^5.0.1",
"cors": "^2.8.5",
"dotenv": "^16.0.0",
"email-validator": "^2.0.4",
"express": "^4.17.3",
"jsonwebtoken": "^8.5.1",
"nodemailer": "^6.7.3",
"uuid": "^8.3.2"
}
}