UNPKG

@nostr-dev-kit/ndk

Version:

NDK - Nostr Development Kit. Includes AI Guardrails to catch common mistakes during development.

101 lines (100 loc) 2.83 kB
{ "name": "@nostr-dev-kit/ndk", "version": "3.0.3", "description": "NDK - Nostr Development Kit. Includes AI Guardrails to catch common mistakes during development.", "homepage": "https://ndk.fyi", "documentation": "https://nostr-dev-kit.github.io/ndk", "repository": { "type": "git", "url": "git+https://github.com/nostr-dev-kit/ndk.git" }, "main": "./dist/index.js", "module": "./dist/index.mjs", "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "./workers/sig-verification": { "import": "./dist/workers/sig-verification.mjs", "require": "./dist/workers/sig-verification.js" }, "./test": { "import": { "types": "./dist/test/index.d.ts", "default": "./dist/test/index.js" }, "require": { "types": "./dist/test/index.d.ts", "default": "./dist/test/index.js" } } }, "files": [ "dist", "src", "README.md" ], "scripts": { "dev": "bun run build --watch", "build": "tsup src/index.ts --format cjs,esm --dts && tsup src/workers/sig-verification.ts --format cjs,esm --dts -d dist/workers && tsup test/index.ts --format cjs,esm --dts -d dist/test", "build:core:esm": "tsup src/index.ts --format esm --dts", "clean": "rm -rf dist docs", "prepare": "bun run build", "test": "vitest run", "test:watch": "vitest watch", "test:coverage": "vitest run --coverage", "test:ui": "vitest --ui", "benchmark": "vitest bench --run", "benchmark:watch": "vitest bench", "lint": "prettier --check . && eslint .", "compile": "tsc", "posttest": "bun run lint", "format": "prettier --write ." }, "keywords": [ "nostr" ], "author": "pablof7z", "license": "MIT", "engines": { "node": ">=16" }, "packageManager": "bun@1.0.0", "devDependencies": { "@types/debug": "^4.1.12", "@types/node": "^24.10.0", "@vitest/coverage-v8": "^4.0.14", "esbuild": "^0.27.2", "esbuild-plugin-alias": "^0.2.1", "esm-loader-typescript": "^1.0.6", "nostr-tools": "^2.17.2", "ts-node": "^10.9.2", "tsd": "^0.33.0", "tsup": "^8.4.0", "typedoc": "^0.28.14", "typedoc-plugin-rename-defaults": "^0.7.3", "vitest": "^4.0.14" }, "peerDependencies": { "nostr-tools": "^2.17.2" }, "dependencies": { "@codesandbox/sandpack-client": "^2.19.8", "@noble/curves": "^1.6.0", "@noble/hashes": "^1.5.0", "@noble/secp256k1": "^2.1.0", "@scure/base": "^1.1.9", "debug": "^4.3.7", "light-bolt11-decoder": "^3.2.0", "shiki": "^3.13.0", "tseep": "^1.3.1", "typescript-lru-cache": "^2.0.0" } }