-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 2.85 KB
/
package.json
File metadata and controls
104 lines (104 loc) · 2.85 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "nostr-auth-middleware",
"version": "0.5.1",
"description": "A focused, security-first authentication middleware for Nostr applications",
"author": "vveerrgg",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"browser": "./dist/browser/nostr-auth-middleware.min.js",
"engines": {
"node": ">=18.0.0"
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./browser": {
"import": "./dist/browser/nostr-auth-middleware.min.js",
"types": "./dist/types/browser.d.ts"
}
},
"files": [
"dist/",
"docs/",
"examples/**/*",
"README.md",
"LICENSE",
"CHANGELOG.md",
"SECURITY.md",
"CONTRIBUTING.md"
],
"scripts": {
"build": "npm run build:types && npm run build:cjs && npm run build:esm && npm run build:browser",
"build:types": "tsc -p tsconfig.types.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build:browser": "node esbuild.browser.mjs",
"dev": "tsx watch src/index.ts",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"clean": "rm -rf dist",
"prepare": "npm run build",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepublishOnly": "npm run lint && npm run test"
},
"keywords": [
"nostr",
"authentication",
"middleware",
"jwt",
"nip-07",
"typescript",
"express",
"webauthn",
"security"
],
"repository": {
"type": "git",
"url": "git+https://github.com/HumanjavaEnterprises/nostr-auth-middleware.git"
},
"bugs": {
"url": "https://github.com/HumanjavaEnterprises/nostr-auth-middleware/issues"
},
"homepage": "https://github.com/HumanjavaEnterprises/nostr-auth-middleware#readme",
"peerDependencies": {
"@types/express": "^4.17.21 || ^5.0.0",
"express": "^4.18.2 || ^5.0.0"
},
"dependencies": {
"@noble/curves": "^2.0.1",
"@noble/hashes": "^2.0.1",
"@supabase/supabase-js": "^2.97.0",
"@types/jsonwebtoken": "^9.0.10",
"cors": "^2.8.6",
"dotenv": "^17.3.1",
"express-rate-limit": "^8.3.0",
"helmet": "^8.1.0",
"jsonwebtoken": "^9.0.3",
"nostr-crypto-utils": "^0.7.0",
"tslib": "^2.8.1",
"winston": "^3.19.0"
},
"devDependencies": {
"@eslint/js": "^10.0.0",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/node": "^22.19.15",
"@typescript-eslint/eslint-plugin": "^8.56.0",
"@typescript-eslint/parser": "^8.56.0",
"@vitest/coverage-v8": "^4.0.18",
"esbuild": "^0.27.3",
"eslint": "^10.0.3",
"eslint-config-prettier": "^10.1.8",
"express": "^5.2.1",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"vitest": "^4.0.18"
}
}