generated from LeChatErrant/API-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 3.31 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "linkedin",
"version": "1.0.0",
"description": "A linkedin-features based project",
"keywords": [],
"author": {
"name": "jeffersongt",
"email": "jefferson.guiot@epitech.eu",
"url": "https://github.com/jeffersongt/"
},
"repository": {
"url": "https://github.com/jeffersongt/Linkedin"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"license": "ISC",
"scripts": {
"cli": "templated-project-cli",
"build": "tsc",
"start": "npm run db:deploy && node dist",
"test": "MODE=test && exit 0",
"dev:db": "docker run --name db -e POSTGRES_PASSWORD=${DB_PASS} -e POSTGRES_USER=${DB_USER} -p ${DB_PORT}:${DB_PORT} -d postgres:alpine",
"dev:redis": "docker run --name redis -e REDIS_PASSWORD=${REDIS_PASS} -p ${REDIS_PORT}:${REDIS_PORT} -d bitnami/redis:latest",
"dev": "npm run db:deploy && concurrently --raw --kill-others 'prisma generate --watch' 'ts-node-dev --respawn --cls --exit-child src'",
"prisma:generate": "prisma generate",
"prisma:format": "prisma format",
"db:migrate:help": "prisma migrate --help",
"db:migrate": "prisma migrate dev",
"db:migrate:draft": "prisma migrate dev --create-only",
"db:reset": "prisma migrate reset",
"db:deploy": "prisma migrate deploy",
"db:deploy:status": "prisma migrate status",
"db:push": "prisma db push --preview-feature",
"db:studio": "prisma studio --port ${STUDIO_PORT}",
"lint": "eslint './src/**/*.{ts,tsx}' --fix",
"lint:ci": "eslint './src/**/*.{ts,tsx}'",
"prepare": "husky install"
},
"lint-staged": {
"*.@(ts|js)": [
"eslint --fix"
],
"prisma/schema.prisma": [
"npm run prisma:format"
]
},
"dependencies": {
"@prisma/client": "^3.6.0",
"@types/swagger-jsdoc": "^6.0.1",
"@types/swagger-ui-express": "^4.1.3",
"bcrypt": "^5.0.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.1",
"connect-redis": "^6.0.0",
"cors": "^2.8.5",
"env-var": "^7.1.1",
"express": "^4.17.2",
"express-async-handler": "^1.2.0",
"express-session": "^1.17.2",
"helmet": "^5.0.2",
"http-errors": "^1.8.1",
"http-status-codes": "^2.1.4",
"js-cookie": "^3.0.1",
"js-cookies": "^1.0.4",
"morgan": "^1.10.0",
"nodemailer": "^6.7.2",
"prisma": "^3.6.0",
"redis": "^3.1.2",
"reflect-metadata": "^0.1.13",
"swagger-jsdoc": "^6.1.0",
"swagger-ui-express": "^4.3.0",
"typescript": "^4.5.5",
"winston": "^3.3.3"
},
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/connect-redis": "0.0.18",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/express-session": "^1.17.4",
"@types/http-errors": "^1.8.2",
"@types/jest": "^27.0.3",
"@types/js-cookie": "^3.0.1",
"@types/morgan": "^1.9.3",
"@types/node": "^17.0.11",
"@types/nodemailer": "^6.4.4",
"@types/redis": "^2.8.32",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^4.33.0",
"concurrently": "^6.5.0",
"eslint": "^8.7.0",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-plugin-import": "^2.25.3",
"husky": "^7.0.0",
"jest": "^27.4.5",
"lint-staged": "^12.1.2",
"supertest": "^6.1.6",
"ts-jest": "^27.1.3",
"ts-node-dev": "^1.1.8"
}
}