-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
71 lines (71 loc) · 2.14 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
{
"name": "dauth-backend",
"version": "1.0.0",
"description": "delta oauth2.0 service provider",
"main": "./src/index.js",
"scripts": {
"dev": "nodemon --watch src --exec ts-node ./src/index.ts",
"build": "rm -rf ./build && tsc",
"start": "npm run build && node build/index.js",
"lint": "eslint . --ext .ts --fix",
"lint:github": "eslint . --ext .ts",
"format": "prettier --config .prettierrc 'src/**/*.ts' --write",
"prepare": "husky install",
"session:debug": "DEBUG=express-session npm run dev",
"migrate:db": "npx prisma generate && npx prisma migrate deploy"
},
"repository": {
"type": "git",
"url": "git+https://github.com/delta/DAuth-Backend.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/delta/DAuth-Backend/issues"
},
"homepage": "https://github.com/delta/DAuth-Backend#readme",
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/connect-redis": "^0.0.17",
"@types/cors": "^2.8.10",
"@types/express": "^4.17.12",
"@types/node": "^15.12.5",
"@types/nodemailer": "^6.4.2",
"@types/oauth2-server": "^3.0.12",
"@types/passport": "^1.0.6",
"@types/passport-local": "^1.0.33",
"@types/redis": "^2.8.31",
"@typescript-eslint/eslint-plugin": "^4.28.1",
"@typescript-eslint/parser": "^4.28.1",
"crypto": "^1.0.1",
"dotenv": "^10.0.0",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^6.0.0",
"nodemon": "^2.0.9",
"prettier": "^2.3.2",
"prisma": "^2.26.0",
"ts-node": "^10.0.0"
},
"dependencies": {
"@prisma/client": "^2.26.0",
"@types/express-session": "^1.17.3",
"bcrypt": "^5.0.1",
"connect-redis": "^6.0.0",
"cors": "^2.8.5",
"crypto-random-string": "^3.3.1",
"express": "^4.17.1",
"express-session": "^1.17.2",
"express-validator": "^6.12.0",
"helmet": "^4.6.0",
"jose": "^2.0.5",
"libphonenumber-js": "^1.9.20",
"nodemailer": "^6.6.2",
"oauth2-server": "^3.1.1",
"passport": "^0.4.1",
"passport-local": "^1.0.0",
"redis": "^3.1.2",
"typescript": "^4.3.5"
}
}