Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 1.6 KB
/
Copy pathpackage.json
File metadata and controls
67 lines (67 loc) · 1.6 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
{
"name": "@sovit.xyz/keytr",
"version": "0.8.0",
"description": "Passkey login for Nostr. Encrypt your nsec with a WebAuthn PRF passkey, publish to relays, decrypt on any device. Implements NIP-K1.",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./crypto": {
"types": "./dist/crypto/index.d.ts",
"import": "./dist/crypto/index.js"
},
"./webauthn": {
"types": "./dist/webauthn/index.d.ts",
"import": "./dist/webauthn/index.js"
},
"./nostr": {
"types": "./dist/nostr/index.d.ts",
"import": "./dist/nostr/index.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"scripts": {
"build": "tsc -p tsconfig.build.json",
"prepublishOnly": "npm run build",
"dev": "vite demo",
"test": "vitest run",
"test:watch": "vitest",
"lint": "tsc --noEmit"
},
"keywords": [
"nostr",
"passkey",
"webauthn",
"fido2",
"nsec",
"encryption",
"prf"
],
"author": "Sovereign Technology (https://www.sovtech.pro/)",
"repository": {
"type": "git",
"url": "git+https://github.com/SovereignTechnology/keytr.git"
},
"homepage": "https://github.com/SovereignTechnology/keytr",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@noble/ciphers": "2.1.1",
"@noble/hashes": "2.0.1",
"@scure/base": "2.0.0",
"nostr-tools": "2.23.3"
},
"devDependencies": {
"typescript": "^5.7.0",
"vite": "^6.2.0",
"vitest": "^3.0.0"
}
}