UNPKG

@0x/subproviders

Version:

A few useful web3 subproviders including a LedgerSubprovider useful for adding Ledger Nano S support.

87 lines (86 loc) 3.53 kB
{ "name": "@0x/subproviders", "version": "8.0.1", "engines": { "node": ">=12.0.0" }, "repository": { "type": "git", "url": "https://github.com/0xProject/tools.git", "directory": "subproviders" }, "main": "lib/src/index.js", "types": "lib/src/index.d.ts", "license": "Apache-2.0", "scripts": { "build": "tsc -b", "build:ci": "yarn build", "clean": "shx rm -rf lib generated_docs", "watch": "tsc -b -w", "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", "run_mocha_unit": "mocha --require source-map-support/register --require make-promises-safe lib/test/unit/**/*_test.js --timeout 10000 --bail --exit", "run_mocha_integration": "mocha --require source-map-support/register --require make-promises-safe lib/test/integration/**/*_test.js --timeout 10000 --bail --exit", "test": "npm run test:unit", "test:unit:coverage": "nyc npm run test:unit --all && yarn coverage:report:lcov", "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", "test:circleci": "npm run test:unit:coverage", "test:all": "run-s test:unit test:integration", "test:unit": "run-s clean build run_mocha_unit", "test:integration": "run-s clean build run_mocha_integration", "diff_docs": "git diff --exit-code ./docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir='$PROJECT_FILES' --output=$MD_FILE_DIR --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --excludeProtected --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES", "postinstall": "" }, "config": { "postpublish": { "assets": [] } }, "dependencies": { "@0x/assert": "^3.0.36", "@0x/types": "^3.3.7", "@0x/typescript-typings": "^5.3.2", "@0x/utils": "^7.0.0", "@0x/web3-wrapper": "^8.0.1", "@ethereumjs/common": "^2.6.3", "@ethereumjs/tx": "^3.5.1", "@types/hdkey": "^0.7.0", "@types/node": "12.12.54", "@types/web3-provider-engine": "^14.0.0", "bip39": "2.5.0", "ethereum-types": "^3.7.1", "ethereumjs-util": "^7.1.5", "ganache": "^7.4.0", "hdkey": "2.1.0", "json-rpc-error": "2.0.0", "lodash": "^4.17.21", "web3-provider-engine": "16.0.4" }, "devDependencies": { "@0x/ts-doc-gen": "^0.0.28", "@0x/tslint-config": "^4.1.5", "@types/bip39": "2.4.2", "@types/ethereumjs-tx": "^1.0.1", "@types/hdkey": "^0.7.0", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", "chai": "^4.0.1", "chai-as-promised": "^7.1.0", "dirty-chai": "^2.0.1", "make-promises-safe": "^1.1.0", "mocha": "^6.2.0", "npm-run-all": "^4.1.2", "nyc": "^11.0.1", "shx": "^0.2.2", "tslint": "5.11.0", "typedoc": "~0.16.11", "typescript": "4.2.2" }, "publishConfig": { "access": "public" }, "gitHead": "c33f74a7025d795ed5e3699a24ceb9a58a4f45f7" }