-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
88 lines (88 loc) · 2.44 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
{
"name": "nostr-auth-middleware",
"version": "0.3.4",
"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/",
"COLAB-DOCS/",
"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": "webpack --config webpack.config.js",
"dev": "tsx watch src/index.ts",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"clean": "rimraf dist",
"prepare": "npm run build",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepublishOnly": "npm run lint && npm run test"
},
"peerDependencies": {
"@types/express": "^4.17.21",
"express": "^4.18.2"
},
"dependencies": {
"@noble/curves": "^1.8.1",
"@noble/hashes": "^1.7.1",
"@noble/secp256k1": "^2.2.3",
"@supabase/supabase-js": "^2.48.1",
"@types/jsonwebtoken": "^9.0.8",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express-rate-limit": "^7.5.0",
"helmet": "^8.0.0",
"jsonwebtoken": "^9.0.2",
"nostr-crypto-utils": "^0.4.15",
"tslib": "^2.8.1",
"winston": "^3.11.0"
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/node": "^20.11.0",
"@typescript-eslint/eslint-plugin": "^8.23.0",
"@typescript-eslint/parser": "^8.23.0",
"@vitest/coverage-v8": "^3.0.5",
"eslint": "^9.19.0",
"express": "^4.18.2",
"ignore-loader": "^0.1.2",
"rimraf": "^5.0.5",
"ts-loader": "^9.5.1",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"vite": "^6.1.0",
"vitest": "^3.0.5",
"webpack": "^5.89.0",
"webpack-cli": "^6.0.1"
}
}