UNPKG

sing-wallet-inpage-provider

Version:

A JavaScript Ethereum provider that connects to the wallet over a stream.

60 lines (59 loc) 1.71 kB
{ "name": "sing-wallet-inpage-provider", "version": "0.0.2", "description": "A JavaScript Ethereum provider that connects to the wallet over a stream.", "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { "node": ">=12.0.0" }, "scripts": { "build": "tsc --project .", "test": "yarn build && jest", "coverage": "jest --coverage", "lint": "eslint . --ext ts,js,json", "lint:fix": "yarn lint --fix", "__prepublishOnly": "yarn require-clean-git && yarn lint && yarn test", "require-clean-git": "git diff --quiet || (echo 'Please clean the working directory.' && exit 1)" }, "author": "S!NG", "license": "MIT", "repository": { "type": "git", "url": "git+ssh://git@github.com/SingShare/wallet-inpage-provider.git" }, "keywords": [ "Sing", "Ethereum", "Provider" ], "files": [ "dist/" ], "dependencies": { "@metamask/object-multiplex": "^1.1.0", "@metamask/safe-event-emitter": "^2.0.0", "eth-rpc-errors": "^4.0.2", "fast-deep-equal": "^2.0.1", "is-stream": "^2.0.0", "json-rpc-engine": "^6.1.0", "json-rpc-middleware-stream": "^3.0.0", "pump": "^3.0.0" }, "devDependencies": { "@metamask/eslint-config": "^4.1.0", "@types/jest": "^26.0.5", "@types/node": "^14.14.14", "@types/pump": "^1.1.0", "@types/readable-stream": "^2.3.9", "@typescript-eslint/eslint-plugin": "^4.10.0", "@typescript-eslint/parser": "^4.10.0", "eslint": "^7.15.0", "eslint-plugin-import": "^2.20.2", "eslint-plugin-jest": "^23.18.0", "eslint-plugin-json": "^2.0.1", "eslint-plugin-node": "^11.1.0", "jest": "^26.6.3", "typescript": "^4.1.3" } }