-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 1.88 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (85 loc) · 1.88 KB
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
{
"name": "@daksh-dev/light-auth",
"version": "1.1.0",
"description": "A lightweight and flexible authentication package for Express.js (JWT & Sessions).",
"main": "setupAuth.js",
"types": "index.d.ts",
"type": "module",
"bin": {
"light-auth": "./bin/init.js"
},
"scripts": {
"test": "cd test-app && pnpm test:all",
"test:jwt": "cd test-app && pnpm test:jwt",
"test:session": "cd test-app && pnpm test:session",
"lint": "eslint .",
"format": "prettier --write .",
"prepare": "pnpm run lint"
},
"files": [
"setupAuth.js",
"modules/",
"index.d.ts",
"bin/"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Daksh-Dixit21/light-auth.git"
},
"keywords": [
"nodejs",
"express",
"authentication",
"auth",
"jwt",
"session",
"security",
"middleware",
"javascript"
],
"author": "Daksh Dixit",
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
},
"packageManager": "pnpm@10.12.3",
"peerDependencies": {
"express": "^4.19.0",
"express-session": "^1.18.0",
"helmet": "^7.1.0",
"mongoose": "^8.3.0",
"argon2": "^0.40.1",
"swagger-ui-express": "^5.0.0"
},
"peerDependenciesMeta": {
"express-session": {
"optional": true
},
"argon2": {
"optional": true
},
"swagger-ui-express": {
"optional": true
}
},
"dependencies": {
"@clack/prompts": "^0.7.0",
"picocolors": "^1.0.0",
"bcryptjs": "^2.4.3",
"debug": "^4.3.4",
"dotenv": "^16.4.5",
"express-rate-limit": "^7.2.0",
"express-validator": "^7.0.1",
"jsonwebtoken": "^9.0.2"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"eslint": "^9.0.0",
"express": "^4.19.2",
"express-session": "^1.18.0",
"globals": "^17.4.0",
"helmet": "^7.1.0",
"mongoose": "^8.3.2",
"prettier": "^3.2.5"
}
}