UNPKG

@babylonlabs-io/btc-staking-ts

Version:

Library exposing methods for the creation and consumption of Bitcoin transactions pertaining to Babylon's Bitcoin Staking protocol.

91 lines (90 loc) 2.57 kB
{ "name": "@babylonlabs-io/btc-staking-ts", "version": "2.8.6", "description": "Library exposing methods for the creation and consumption of Bitcoin transactions pertaining to Babylon's Bitcoin Staking protocol.", "module": "dist/index.js", "main": "dist/index.cjs", "typings": "dist/index.d.ts", "type": "module", "scripts": { "generate-types": "dts-bundle-generator --no-check -o ./dist/index.d.ts ./src/index.ts", "build": "node build.js && npm run generate-types", "format": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"", "format:fix": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"", "lint": "eslint ./src --fix", "prepare": "husky", "prepublishOnly": "npm run build", "test": "jest --verbose", "test:watch": "jest --watch", "version:canary": "npm version prerelease --preid=canary" }, "files": [ "dist/*" ], "keywords": [ "bitcoin", "staking", "babylon", "btc-staking" ], "engines": { "node": ">=22.0.0 <25.0.0" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "src/**/*.ts": [ "prettier --write", "eslint --fix" ], "tests/**/*.ts": [ "prettier --write", "eslint --fix" ] }, "author": "Babylon Labs Ltd.", "license": "SEE LICENSE IN LICENSE", "devDependencies": { "@babel/preset-env": "^7.28.3", "@babylonlabs-io/babylon-proto-ts": "1.22.1", "bitcoinjs-lib": "6.1.7", "@commitlint/cli": "^19.8.0", "@commitlint/config-conventional": "^19.8.0", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@semantic-release/npm": "^12.0.1", "@types/jest": "^29.5.12", "@types/node": "^20.11.30", "@typescript-eslint/parser": "^7.4.0", "dts-bundle-generator": "^9.3.1", "ecpair": "^2.1.0", "esbuild": "^0.25.9", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "husky": "^9.0.11", "jest": "^29.7.0", "lint-staged": "^15.2.7", "nanoevents": "^9.1.0", "prettier": "^3.2.5", "prettier-plugin-organize-imports": "^3.2.4", "semantic-release": "^24.2.3", "ts-jest": "^29.1.4", "typescript": "^5.4.5", "typescript-eslint": "^7.4.0" }, "dependencies": { "@bitcoin-js/tiny-secp256k1-asmjs": "2.2.3", "@cosmjs/encoding": "0.36.0" }, "peerDependencies": { "@babylonlabs-io/babylon-proto-ts": "1.22.1", "bitcoinjs-lib": "6.1.7" }, "publishConfig": { "access": "public" } }