mirror of
https://github.com/PR0M3TH3AN/bitlogin.git
synced 2026-10-27 16:41:25 +00:00
Preparing to open the project up beyond this repo's own use: - LICENSE: MIT, and a "license": "MIT" field on the root and all three workspace package.json files. - CONTRIBUTING.md: dev workflow, the mock-relay testing setup (most sandboxes/CI have no route to public Nostr relays, and registration needs a 2-of-N ack quorum so a single mock relay always fails), the spec-first process for anything touching wire format or crypto (docs/spec.md is canonical; speculative ideas go in their own doc, not the spec), and stricter expectations for crypto/key-handling changes. - SECURITY.md: private vulnerability disclosure via GitHub's advisory flow rather than public issues, given this handles private keys and password-derived secrets client-side; states current audit status plainly (none yet). - README: short "Contributing" section pointing at all three. Co-Authored-By: Claude <[email protected]> Claude-Session: https://claude.ai/code/session_01GWJbXXhvTx9wo59jSz57J6
40 lines
1.0 KiB
JSON
40 lines
1.0 KiB
JSON
{
|
|
"name": "@bitlogin/core",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"description": "BitLogin protocol core: crypto, capsules, Nostr relay I/O, account flows. Framework- and DOM-free.",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./crypto": "./dist/crypto/index.js",
|
|
"./nostr": "./dist/nostr/index.js",
|
|
"./capsules": "./dist/capsules/index.js",
|
|
"./account": "./dist/account/index.js",
|
|
"./storage": "./dist/storage/index.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -b",
|
|
"typecheck": "tsc -b --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@noble/ciphers": "^2.2.0",
|
|
"@noble/curves": "^1.9.1",
|
|
"@noble/hashes": "^1.7.1",
|
|
"@scure/base": "^1.2.6",
|
|
"@scure/bip39": "^1.5.4",
|
|
"canonicalize": "^2.0.0",
|
|
"diceware-wordlist-en-eff": "^1.0.1",
|
|
"hash-wasm": "^4.12.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.0",
|
|
"@types/ws": "^8.18.1",
|
|
"typescript": "^5.7.3",
|
|
"vitest": "^3.0.5",
|
|
"ws": "^8.21.1"
|
|
}
|
|
}
|