- 0x.js@0.33.4 - @0xproject/assert@0.2.3 - @0xproject/connect@0.6.6 - contracts@2.1.18 - @0xproject/deployer@0.3.2 - @0xproject/dev-utils@0.3.2 - @0xproject/json-schemas@0.7.17 - @0xproject/react-docs-example@0.0.4 - @0xproject/react-docs@0.0.4 - @0xproject/react-shared@0.0.4 - @0xproject/sol-cov@0.0.4 - @0xproject/sra-report@0.0.4 - @0xproject/subproviders@0.8.2 - @0xproject/testnet-faucets@1.0.19 - @0xproject/website@0.0.21
Dev utils
Dev utils to be shared across 0x projects and packages
Configuration
Some env variables might be set to change the behaviour of created web3 providers/instances.
VERBOSE_GANACHE: boolean. Enables verbose Ganache logging. Every request/response payload. Slightly slower, but useful for testing.
SOLIDITY_COVERAGE: boolean. If set - adds coverage subprovider which intercepts all calls/transactions and can be later used to compute code coverage.
Boolean env variables should be either true
or false
. Defaults to false
if not set.
Install
yarn add @0xproject/dev-utils
If your project is in TypeScript, add the following to your tsconfig.json
:
"include": [
"./node_modules/web3-typescript-typings/index.d.ts",
]