UNPKG

@electrum-cash/web-socket

Version:

@electrum-cash/web-socket implements the ElectrumSocket interface using web sockets.

71 lines (70 loc) 2.27 kB
{ "name": "@electrum-cash/web-socket", "version": "1.0.0", "description": "@electrum-cash/web-socket implements the ElectrumSocket interface using web sockets.", "keywords": [ "electrum", "bitcoin", "bitcoin cash" ], "homepage": "https://gitlab.com/electrum-cash/web-socket#readme", "bugs": { "url": "https://gitlab.com/electrum-cash/web-socket/issues" }, "repository": { "type": "git", "url": "git+https://gitlab.com/electrum-cash/web-socket.git" }, "author": "Jonathan Silverblood", "license": "MIT", "source": "./source/index.ts", "type": "module", "types": "./dist/index.d.ts", "module": "./dist/index.mjs", "exports": { "types": "./dist/index.d.ts", "default": "./dist/index.mjs" }, "files": [ "dist" ], "scripts": { "clean": "del ./dist", "build": "npm run clean && parcel build", "analyze": "parcel build --reporter @parcel/reporter-bundle-analyzer", "docs": "typedoc --hideGenerator --categorizeByGroup", "lint": "eslint . --ext .ts", "syntax": "tsc --noEmit", "spellcheck": "cspell 'source/**' 'test/**' 'examples/**'", "test": "vitest --dir test/ --test-timeout=15000 --passWithNoTests --run --coverage" }, "devDependencies": { "@electrum-cash/network": "^4.0.2-development.8063220996", "@generalprotocols/cspell-dictionary": "git+https://gitlab.com/GeneralProtocols/cspell-dictionary.git", "@generalprotocols/eslint-config": "git+https://gitlab.com/GeneralProtocols/eslint-config.git", "@parcel/packager-ts": "^2.12.0", "@parcel/transformer-typescript-types": "^2.12.0", "@types/debug": "^4.1.6", "@typescript-eslint/eslint-plugin": "^6.8.0", "@vitest/coverage-v8": "^1.3.1", "cspell": "^8.6.0", "del-cli": "^5.0.0", "eslint": "^8.42.0", "eslint-plugin-import": "^2.23.4", "events": "^3.3.0", "parcel": "^2.12.0", "typedoc": "^0.25.12", "typedoc-plugin-coverage": "^3.1.0", "typescript": "^5.1.3", "vitest": "^1.3.1" }, "dependencies": { "@electrum-cash/debug-logs": "^1.0.0", "@monsterbitar/isomorphic-ws": "^5.3.0", "@types/ws": "^8.5.5", "async-mutex": "^0.5.0", "eventemitter3": "^5.0.1", "lossless-json": "^4.0.1", "ws": "^8.13.0" } }