UNPKG

sparrow-providers

Version:

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

89 lines (88 loc) 2.73 kB
{ "name": "sparrow-providers", "version": "8.1.2", "description": "A JavaScript Ubiq provider that connects to the wallet over a stream.", "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { "node": ">=12.0.0" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "scripts": { "setup": "yarn install && yarn allow-scripts", "build": "mkdir -p dist && rm -rf dist/* && tsc --project .", "test": "jest", "test:watch": "yarn test --watch", "lint:eslint": "eslint . --cache --ext js,ts", "lint:misc": "prettier '**/*.json' '**/*.md' '!CHANGELOG.md' '**/*.yml' --single-quote --ignore-path .gitignore", "lint": "yarn lint:eslint && yarn lint:misc --check", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", "prepublishOnly": "yarn build && yarn lint && yarn test" }, "author": "Ubiq", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/ubiq/sparrow-providers.git" }, "keywords": [ "Sparrow", "Ubiq", "Provider" ], "bugs": { "url": "https://github.com/ubiq/sparrow-providers/issues" }, "homepage": "https://github.com/ubiq/sparrow-providers#readme", "files": [ "dist/" ], "dependencies": { "@metamask/object-multiplex": "^1.1.0", "@metamask/safe-event-emitter": "^2.0.0", "@types/chrome": "^0.0.136", "detect-browser": "^5.2.0", "eth-rpc-errors": "^4.0.2", "extension-port-stream": "^2.0.1", "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", "webextension-polyfill-ts": "^0.25.0" }, "devDependencies": { "@lavamoat/allow-scripts": "^1.0.6", "@metamask/auto-changelog": "^2.3.0", "@metamask/eslint-config": "^7.0.1", "@metamask/eslint-config-jest": "^7.0.0", "@metamask/eslint-config-nodejs": "^7.0.1", "@metamask/eslint-config-typescript": "^7.0.1", "@types/jest": "^26.0.23", "@types/node": "^14.14.14", "@types/pump": "^1.1.0", "@types/readable-stream": "^2.3.9", "@typescript-eslint/eslint-plugin": "^4.28.1", "@typescript-eslint/parser": "^4.28.1", "eslint": "^7.29.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-import": "^2.23.4", "eslint-plugin-jest": "^23.18.0", "eslint-plugin-json": "^2.0.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^3.4.0", "jest": "^26.6.3", "jest-chrome": "^0.7.1", "prettier": "^2.3.1", "ts-jest": "^26.5.6", "typescript": "^4.3.5" }, "lavamoat": { "allowScripts": { "@lavamoat/preinstall-always-fail": false } } }