Catalog npm
Back to packageRELEASE DETAILS

0.1.0

npm

@0xproject/dev-utils

0x dev TS utils

Published16 Feb 2018
Direct dependencies21
Transitive dependenciesNot calculated

README

Current package documentation

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:

"compilerOptions": {
    "typeRoots": ["node_modules/@0xproject/typescript-typings/types", "node_modules/@types"],
}

Contributing

We welcome improvements and fixes from the wider community! To report bugs within this package, please create an issue in this repository.

Please read our contribution guidelines before getting started.

Install dependencies

If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:

yarn config set workspaces-experimental true

Then install dependencies

yarn install

Build

To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:

PKG=@0xproject/dev-utils yarn build

Or continuously rebuild on change:

PKG=@0xproject/dev-utils yarn watch

Clean

yarn clean

Lint

yarn lint

Run Tests

yarn test

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 21

Native requirements
21 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0xproject/subproviders
Environment
{
  "local_name": "@0xproject/subproviders",
  "alias": false,
  "peer_metadata": null
}
^0.5.0runtime
@0xproject/utils
Environment
{
  "local_name": "@0xproject/utils",
  "alias": false,
  "peer_metadata": null
}
^0.3.4runtime
ethereumjs-util
Environment
{
  "local_name": "ethereumjs-util",
  "alias": false,
  "peer_metadata": null
}
^5.1.2runtime
lodash
Environment
{
  "local_name": "lodash",
  "alias": false,
  "peer_metadata": null
}
^4.17.4runtime
request-promise-native
Environment
{
  "local_name": "request-promise-native",
  "alias": false,
  "peer_metadata": null
}
^1.0.5runtime
web3
Environment
{
  "local_name": "web3",
  "alias": false,
  "peer_metadata": null
}
^0.20.0runtime
web3-provider-engine
Environment
{
  "local_name": "web3-provider-engine",
  "alias": false,
  "peer_metadata": null
}
^13.0.1runtime
@0xproject/tslint-config
Environment
{
  "local_name": "@0xproject/tslint-config",
  "alias": false,
  "peer_metadata": null
}
^0.4.9development
@0xproject/types
Environment
{
  "local_name": "@0xproject/types",
  "alias": false,
  "peer_metadata": null
}
^0.2.3development
@0xproject/web3-wrapper
Environment
{
  "local_name": "@0xproject/web3-wrapper",
  "alias": false,
  "peer_metadata": null
}
^0.1.14development
@types/lodash
Environment
{
  "local_name": "@types/lodash",
  "alias": false,
  "peer_metadata": null
}
^4.14.86development
@types/mocha
Environment
{
  "local_name": "@types/mocha",
  "alias": false,
  "peer_metadata": null
}
^2.2.42development
chai
Environment
{
  "local_name": "chai",
  "alias": false,
  "peer_metadata": null
}
^4.0.1development
chai-typescript-typings
Environment
{
  "local_name": "chai-typescript-typings",
  "alias": false,
  "peer_metadata": null
}
^0.0.3development
mocha
Environment
{
  "local_name": "mocha",
  "alias": false,
  "peer_metadata": null
}
^4.0.1development
npm-run-all
Environment
{
  "local_name": "npm-run-all",
  "alias": false,
  "peer_metadata": null
}
^4.1.2development
shx
Environment
{
  "local_name": "shx",
  "alias": false,
  "peer_metadata": null
}
^0.2.2development
tslint
Environment
{
  "local_name": "tslint",
  "alias": false,
  "peer_metadata": null
}
5.8.0development
types-bn
Environment
{
  "local_name": "types-bn",
  "alias": false,
  "peer_metadata": null
}
^0.0.1development
types-ethereumjs-util
Environment
{
  "local_name": "types-ethereumjs-util",
  "alias": false,
  "peer_metadata": null
}
github:0xProject/types-ethereumjs-utildevelopment
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
2.7.1development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-n72DnYa6SGTGyNIz0Tu6dvw/yVGN4yLRUDhLzpiTAago3YTiZCqsHMWxMZmH9X1Pmq/jW7q2z0HC/LwixyCndg==",
  "shasum": "e4b191ae3f687692878c4af8a651fb327e706990",
  "tarball": "https://registry.npmjs.org/@0xproject/dev-utils/-/dev-utils-0.1.0.tgz",
  "fileCount": 27,
  "unpackedSize": 37618,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIDAl4Iay4nUUfV28CsIP87tme8BJpcH122FNg+YzkadhAiAZ8lWRaGRNTu1i0EUTxZ3XFgr4ju6FBovbcvlBzS8z7w=="
    }
  ]
}

Repository

PENDING
0xproject/0x-monorepo

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
0xproject/0x.js

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:32 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:b96f1f11a18a94f7929d17dce4238e6ab791cc9dbb1733d57b4e7b8fdd1af9cd

Other collected versions

1.0.124 Oct1.0.1128 Sept1.0.1025 Sept1.0.925 Sept1.0.821 Sept1.0.75 SeptView all collected versions →