UNPKG

@bsv/overlay

Version:
147 lines 4.36 kB
{ "name": "@bsv/overlay", "version": "2.3.0", "sideEffects": false, "engines": { "node": ">=22" }, "publishConfig": { "access": "public" }, "type": "module", "description": "BSV Blockchain Overlay Services Engine", "main": "dist/cjs/mod.js", "module": "dist/esm/mod.js", "types": "dist/types/mod.d.ts", "files": [ "dist", "!dist/**/*.tsbuildinfo", "README.md", "LICENSE.txt" ], "exports": { ".": { "import": { "types": "./dist/types/mod.d.ts", "default": "./dist/esm/mod.js" }, "require": { "types": "./dist/cjs/mod.d.ts", "default": "./dist/cjs/mod.js" } }, "./*.ts": { "import": { "types": "./dist/types/src/*.d.ts", "default": "./dist/esm/src/*.js" }, "require": { "types": "./dist/cjs/src/*.d.ts", "default": "./dist/cjs/src/*.js" } }, "./storage": { "import": { "types": "./dist/types/src/storage/Storage.d.ts", "default": "./dist/esm/src/storage/Storage.js" }, "require": { "types": "./dist/cjs/src/storage/Storage.d.ts", "default": "./dist/cjs/src/storage/Storage.js" } }, "./storage/*.ts": { "import": { "types": "./dist/types/src/storage/*.d.ts", "default": "./dist/esm/src/storage/*.js" }, "require": { "types": "./dist/cjs/src/storage/*.d.ts", "default": "./dist/cjs/src/storage/*.js" } }, "./storage/*": { "import": { "types": "./dist/types/src/storage/*.d.ts", "default": "./dist/esm/src/storage/*.js" }, "require": { "types": "./dist/cjs/src/storage/*.d.ts", "default": "./dist/cjs/src/storage/*.js" } } }, "repository": { "type": "git", "url": "git+https://github.com/bsv-blockchain/ts-stack.git", "directory": "packages/overlays/overlay" }, "keywords": [ "BSV", "Blockchain", "Overlay", "Bitcoin", "SV" ], "author": "BSV Association", "license": "SEE LICENSE IN LICENSE.txt", "bugs": { "url": "https://github.com/bsv-blockchain/ts-stack/issues" }, "homepage": "https://github.com/bsv-blockchain/ts-stack/tree/main/packages/overlays/overlay#readme", "devDependencies": { "@bsv/sdk": "^2.3.0", "@types/jest": "^30.0.0", "@types/node": "^26.1.2", "@typescript/native": "npm:typescript@7.0.2", "fast-check": "^4.9.0", "jest": "^30.4.2", "oxlint": "^1.76.0", "ts-jest": "^29.4.12", "ts2md": "^0.2.8", "tsconfig-to-dual-package": "^1.2.0", "typescript": "npm:@typescript/typescript6@6.0.2" }, "dependencies": { "@bsv/gasp": "^1.3.5", "knex": "^3.3.0" }, "peerDependencies": { "@bsv/sdk": "^2.1.6" }, "peerDependenciesMeta": { "@bsv/sdk": { "optional": false } }, "typesVersions": { "*": { "storage": [ "dist/types/src/storage/Storage.d.ts" ], "storage/*": [ "dist/types/src/storage/*" ], "*.ts": [ "dist/types/src/*.d.ts" ], "*": [ "dist/types/mod.d.ts" ] } }, "scripts": { "test": "pnpm build && jest --runInBand --watchman=false", "test:watch": "pnpm build && jest --watch", "test:coverage": "pnpm build && jest --coverage --runInBand --watchman=false", "test:property": "jest --runInBand --watchman=false --runTestsByPath src/__tests/BASM.property.test.ts", "format:check": "pnpm --workspace-root exec prettier --check \"packages/overlays/overlay/{README.md,jest.config.js,mod.ts,package.json,tsconfig*.json}\"", "lint": "oxlint mod.ts src jest.config.js --deny-warnings", "lint:ci": "pnpm lint", "pack:check": "pnpm build && node ../../../scripts/check-package-artifact.mjs . --exports BASM_ZERO_HASH,Engine,KnexStorage,KnexStorageMigrations,computeBasmRoot,computeTac,extractMerkleProofMetadata,serializeErrorForLog,serializeLogValue --entry-exports \"./storage=;./storage/knex/KnexStorage=KnexStorage\"", "typecheck": "tsc --project tsconfig.base.json --noEmit --incremental false", "build": "tsc -b && tsconfig-to-dual-package tsconfig.cjs.json", "dev": "tsc -b -w", "doc": "ts2md --inputFilename=mod.ts --outputFilename=docs/API.md --filenameSubstring=API --firstHeadingLevel=1" } }