Files
bitlogin/package.json
T
Claude 9408fef484 Add MIT license, CONTRIBUTING, and SECURITY docs for open-sourcing
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
2026-07-21 16:54:55 +00:00

25 lines
701 B
JSON

{
"name": "bitlogin-monorepo",
"version": "0.1.0",
"private": true,
"license": "MIT",
"description": "BitLogin — static, relay-backed portable Nostr account protocol and embeddable login widget",
"workspaces": [
"packages/core",
"packages/widget",
"packages/demo"
],
"scripts": {
"build": "npm run build -w @bitlogin/core && npm run build -w @bitlogin/widget",
"dev:demo": "npm run dev -w @bitlogin/demo",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "npm run typecheck -w @bitlogin/core && npm run typecheck -w @bitlogin/widget"
},
"devDependencies": {
"typescript": "^5.7.3",
"vite": "^6.1.0",
"vitest": "^3.0.5"
}
}