UNPKG

opnet

Version:

The perfect library for building Bitcoin-based applications.

154 lines (153 loc) 5.31 kB
{ "name": "opnet", "type": "module", "version": "1.8.13", "author": "OP_NET", "description": "The perfect library for building Bitcoin-based applications.", "engines": { "node": ">=24.0.0" }, "exports": { ".": { "react-native": { "types": "./build/index.d.ts", "import": "./build/index.js", "default": "./build/index.js" }, "browser": { "types": "./browser/index.d.ts", "import": "./browser/index.js", "require": "./browser/index.js", "default": "./browser/index.js" }, "node": { "types": "./build/index.d.ts", "import": "./build/index.js", "require": "./build/index.js", "default": "./build/index.js" }, "types": "./build/index.d.ts", "import": "./build/index.js", "require": "./build/index.js", "default": "./build/index.js" }, "./browser": { "types": "./browser/index.d.ts", "import": "./browser/index.js", "require": "./browser/index.js", "default": "./browser/index.js" }, "./browser/protobuf": { "import": "./browser/protobuf.js", "require": "./browser/protobuf.js", "default": "./browser/protobuf.js" }, "./browser/polyfills": { "import": "./browser/polyfills.js", "require": "./browser/polyfills.js", "default": "./browser/polyfills.js" }, "./browser/vendors": { "import": "./browser/vendors.js", "require": "./browser/vendors.js", "default": "./browser/vendors.js" } }, "react-native": { "./build/threading/WorkerCreator.js": "./build/threading/WorkerCreator.native.js", "./build/threading/JSONThreader.js": "./build/threading/JSONThreader.native.js" }, "browser": { "./build/index.d.ts": "./browser/index.d.ts", "./build/index.js": "./browser/index.js", "Buffer": "buffer", "crypto": "./src/crypto/crypto-browser.js", "stream": "stream-browserify", "undici": "./src/fetch/fetch-browser.js" }, "homepage": "https://opnet.org", "keywords": [ "opnet", "bitcoin", "btc" ], "license": "Apache-2.0", "main": "build/index.js", "types": "build/index.d.ts", "typings": "build/index.d.ts", "module": "build/index.js", "publishConfig": { "access": "public", "tag": "latest" }, "repository": { "type": "git", "url": "git://github.com/btc-vision/opnet.git" }, "scripts": { "watch": "tsc --watch", "build": "eslint src && tsc -p tsconfig.build.json", "test": "npm run build && vitest run", "test:browser": "npm run build && vitest run --config vitest.config.browser.ts", "test:browser:watch": "vitest --config vitest.config.browser.ts", "test:watch": "npm run build && vitest", "test:ui": "npm run build && vitest --ui", "test:coverage": "npm run build && vitest run --coverage", "setup": "npm i && npm run build", "browserBuild": "vite build --config vite.config.browser.ts", "docs": "typedoc --out docs --tsconfig tsconfig.json --readme README.md --name OPNet --plugin typedoc-material-theme --themeColor '#cb9820' --exclude src/scripts/test.ts --exclude src/index.ts src", "check:circular": "madge --circular --extensions ts,tsx src/", "prebuild": "npm run check:circular" }, "devDependencies": { "@babel/core": "^7.29.0", "@babel/preset-env": "^7.29.2", "@babel/preset-typescript": "^7.28.5", "@eslint/js": "^10.0.1", "@microsoft/api-extractor": "7.57.7", "@types/node": "^25.5.0", "@vitest/browser": "^4.1.1", "@vitest/browser-playwright": "^4.1.1", "@vitest/ui": "^4.1.1", "esbuild": "^0.27.4", "eslint": "^10.1.0", "madge": "^8.0.0", "playwright": "^1.58.2", "stream-browserify": "^3.0.0", "typedoc": "^0.28.18", "typescript": "^5.9.3", "typescript-eslint": "^8.57.2", "vite": "^8.0.2", "vite-plugin-dts": "4.5.4", "vite-plugin-node-polyfills": "^0.25.0", "vitest": "^4.1.1" }, "peerDependencies": { "react-native-worklets": ">=0.7.0" }, "peerDependenciesMeta": { "react-native-worklets": { "optional": true } }, "dependencies": { "@btc-vision/bip32": "^7.1.2", "@btc-vision/bitcoin": "^7.0.0", "@btc-vision/bitcoin-rpc": "^1.1.2", "@btc-vision/ecpair": "^4.0.5", "@btc-vision/logger": "^1.0.8", "@btc-vision/transaction": "^1.8.4", "@noble/hashes": "^2.0.1", "bignumber.js": "^10.0.2", "long": "^5.3.2", "p-limit": "^7.3.0", "pako": "^2.1.0", "protobufjs": "^8.0.0", "undici": "^7.24.5" }, "overrides": { "vite-plugin-node-polyfills": { "vite": "$vite" } } }