@0x/subproviders

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

fix

tslint --fix --format stylish --project .

lint

tslint --format stylish --project .

test

npm run test:unit

build

tsc -b

clean

shx rm -rf lib generated_docs

docs:md

ts-doc-gen --sourceDir='$PROJECT_FILES' --output=$MD_FILE_DIR --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json

build:ci

yarn build

test:all

run-s test:unit test:integration

diff_docs

git diff --exit-code ./docs

docs:json

typedoc --excludePrivate --excludeExternals --excludeProtected --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES

test:unit

run-s clean build run_mocha_unit

postinstall

node -e "try{ fs.unlinkSync(path.resolve(path.dirname(require.resolve('ganache-core')), './typings/index.d.ts')) } catch (err) {}"

test:circleci

npm run test:unit:coverage

run_mocha_unit

mocha --require source-map-support/register --require make-promises-safe lib/test/unit/**/*_test.js --timeout 10000 --bail --exit

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

test:integration

run-s clean build run_mocha_integration

test:unit:coverage

nyc npm run test:unit --all && yarn coverage:report:lcov

coverage:report:lcov

nyc report --reporter=text-lcov > coverage/lcov.info

run_mocha_integration

mocha --require source-map-support/register --require make-promises-safe lib/test/integration/**/*_test.js --timeout 10000 --bail --exit
npm i @0x/[email protected]

Metadata

Downloads