Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.55 KB
/
Copy pathpackage.json
File metadata and controls
63 lines (63 loc) · 1.55 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
{
"name": "@resolvingarchitecture/did-ts",
"version": "0.1.0",
"description": "Reference implementation of Resolving Architecture's DID design: secp256k1/BIP-340 identities, Nostr-compatible signed records, attestations, and guardian-based key recovery.",
"type": "module",
"license": "CC0-1.0",
"author": "Resolving Architecture <brian@resolvingarchitecture.io>",
"repository": {
"type": "git",
"url": "git+https://github.com/resolvingarchitecture/did-ts.git"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist",
"src",
"LICENSE",
"README.md"
],
"scripts": {
"build": "tsc -p tsconfig.json",
"typecheck": "tsc -p tsconfig.test.json",
"test": "node --import tsx --test \"test/**/*.test.ts\"",
"example": "node --import tsx examples/demo.ts",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run typecheck && npm test && npm run build"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"did",
"did:nostr",
"nostr",
"identity",
"bip340",
"schnorr",
"secp256k1",
"attestation",
"social-recovery",
"key-rotation"
],
"dependencies": {
"@noble/curves": "^2.4.0",
"@noble/hashes": "^2.4.0",
"@scure/base": "^2.4.0"
},
"devDependencies": {
"@types/node": "^26.0.0",
"nostr-tools": "^2.25.2",
"tsx": "^4.23.0",
"typescript": "^7.0.0"
},
"engines": {
"node": ">=20"
}
}