-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 3 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
{
"name": "lbx-jwt",
"description": "Provides JWT authentication for loopback applications. Includes storing roles inside tokens and handling refreshing. Built-in reuse detection.",
"version": "7.0.1",
"keywords": [
"lb4",
"LoopBack",
"LoopBack 4",
"authentication",
"authorization",
"jwt",
"jsonwebtoken",
"refresh token",
"reuse detection",
"password reset"
],
"license": "MIT",
"files": [
"README.md",
"dist",
"src",
"!*/__tests__"
],
"main": "dist/index.js",
"author": "Tim Fabian",
"scripts": {
"tsc": "lb-tsc",
"build": "npm run clean && npm run tsc && npm run copy:mailTemplates",
"build:prod": "npm run clean && npm run tsc && npm run copy:readme && npm run copy:license && npm run copy:contributing && npm run copy:mailTemplates",
"build:watch": "npm run build --watch",
"lint": "eslint . --max-warnings 0",
"lint:fix": "eslint . --fix",
"pretest": "npm run clean && npm run build",
"test": "lb-mocha --allow-console-logs \"dist/__tests__\"",
"posttest": "npm run lint",
"test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js && npm run posttest",
"start": "cd showcase && npm run start",
"clean": "lb-clean dist *.tsbuildinfo .eslintcache",
"copy:readme": "cp ./README.md dist/README.md",
"copy:license": "cp ./LICENSE.md dist/LICENSE.md",
"copy:contributing": "cp ./CONTRIBUTING.md dist/CONTRIBUTING.md",
"copy:mailTemplates": "cp -r ./src/services/mail/templates dist/services/mail/templates"
},
"engines": {
"node": ">=20"
},
"peerDependencies": {
"@loopback/authentication": "11",
"@loopback/authorization": "0.15",
"@loopback/core": "6",
"@loopback/rest": "14",
"@loopback/security": "0.11",
"handlebars": "4",
"nodemailer": "6",
"@hexagon/base64": "^1.1.28",
"@simplewebauthn/server": "^10.0.0",
"bcryptjs": "^2.4.3",
"hi-base32": "^0.5.1",
"jsonwebtoken": "^9.0.2",
"otpauth": "^9.3.0"
},
"dependencies": {
"tslib": "^2.6.2"
},
"devDependencies": {
"@loopback/authentication": "^11.0.2",
"@loopback/boot": "^7.0.2",
"@loopback/build": "^11.0.2",
"@loopback/core": "^6.0.2",
"@loopback/repository": "^7.0.2",
"@loopback/rest": "^14.0.2",
"@loopback/rest-explorer": "^7.0.2",
"@loopback/security": "^0.11.2",
"@loopback/service-proxy": "^7.0.2",
"@loopback/testlab": "^7.0.2",
"@types/bcryptjs": "2.4.6",
"@types/jsonwebtoken": "^9.0.6",
"@types/node": "^20.14.0",
"@types/nodemailer": "^6.4.15",
"eslint-config-service-soft": "^1.5.0",
"handlebars": "^4.7.8",
"loopback-connector-mysql": "^7.0.10",
"nodemailer": "^6.9.13",
"typescript": "~5.4.5"
}
}