forked from HumanjavaEnterprises/nostr-auth-middleware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 2.91 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
104
105
106
107
108
{
"name": "nostr-auth-enroll",
"version": "0.2.1",
"description": "A comprehensive Nostr authentication and enrollment middleware for web applications, with TypeScript support and Supabase integration",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./react": {
"import": "./dist/react/index.js",
"types": "./dist/react/index.d.ts"
}
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"build": "tsc",
"start": "node dist/server.js",
"dev": "ts-node-dev --respawn --transpile-only src/server.ts",
"test": "jest",
"test:auth": "./scripts/test-auth.sh",
"test:live": "ts-node scripts/test-auth-live.ts",
"create-test-user": "ts-node scripts/create-test-user.ts",
"lint": "eslint src --ext .ts",
"format": "prettier --write \"src/**/*.ts\"",
"prepublishOnly": "npm run build",
"prepare": "npm run build",
"pm2:start": "pm2 start ecosystem.config.cjs",
"pm2:stop": "pm2 stop nostr-auth-middleware",
"pm2:restart": "pm2 restart nostr-auth-middleware",
"pm2:delete": "pm2 delete nostr-auth-middleware",
"pm2:logs": "pm2 logs nostr-auth-middleware",
"pm2:status": "pm2 status nostr-auth-middleware",
"deploy:setup": "bash ./scripts/setup.sh",
"deploy:prod": "bash ./scripts/deploy.sh"
},
"keywords": [
"nostr",
"authentication",
"middleware",
"enrollment",
"typescript",
"supabase",
"jwt",
"express",
"react",
"web3",
"crypto"
],
"author": {
"name": "MaiQR.app",
"email": "support@maiqr.app",
"url": "https://maiqr.app"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/maiqr/nostr-auth-middleware.git"
},
"bugs": {
"url": "https://github.com/maiqr/nostr-auth-middleware/issues"
},
"homepage": "https://github.com/maiqr/nostr-auth-middleware#readme",
"engines": {
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@noble/curves": "^1.3.0",
"@noble/hashes": "^1.3.3",
"@noble/secp256k1": "^2.0.0",
"@supabase/supabase-js": "^2.39.1",
"axios": "^1.7.8",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"helmet": "^7.1.0",
"jsonwebtoken": "^9.0.2",
"nostr-tools": "^2.10.4",
"winston": "^3.11.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.11",
"@types/jsonwebtoken": "^9.0.5",
"@types/node": "^20.17.9",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"prettier": "^3.1.1",
"ts-jest": "^29.1.1",
"ts-node-dev": "^2.0.0",
"typescript": "^5.3.3"
}
}