@0x/contracts-utils

v4.0.0
Smart contract utils of 0x protocol

fix

tslint --fix --format stylish --project . --exclude ./generated-wrappers/**/* --exclude ./test/generated-wrappers/**/* --exclude ./generated-artifacts/**/* --exclude ./test/generated-artifacts/**/* --exclude **/lib/**/* && yarn lint-contracts

lint

tslint --format stylish --project . --exclude ./generated-wrappers/**/* --exclude ./test/generated-wrappers/**/* --exclude ./generated-artifacts/**/* --exclude ./test/generated-artifacts/**/* --exclude **/lib/**/* && yarn lint-contracts

test

yarn run_mocha

build

yarn pre_build && tsc -b

clean

shx rm -rf lib test/generated-artifacts test/generated-wrappers generated-artifacts generated-wrappers

watch

sol-compiler -w

compile

sol-compiler

build:ci

yarn build

pre_build

run-s compile contracts:gen generate_contract_wrappers contracts:copy

run_mocha

mocha --require source-map-support/register --require make-promises-safe 'lib/test/**/*.js' --timeout 100000 --bail --exit

test:trace

SOLIDITY_REVERT_TRACE=true run-s build run_mocha

contracts:gen

contracts-gen generate

test:circleci

yarn test

test:coverage

SOLIDITY_COVERAGE=true run-s build run_mocha coverage:report:text coverage:report:lcov

test:profiler

SOLIDITY_PROFILER=true run-s build run_mocha profiler:report:html

contracts:copy

contracts-gen copy

lint-contracts

solhint -c ../.solhint.json contracts/**/**/**/**/*.sol

compile:truffle

truffle compile

rebuild_and_test

run-s build test

coverage:report:html

istanbul report html && open coverage/index.html

coverage:report:lcov

istanbul report lcov

coverage:report:text

istanbul report text

profiler:report:html

istanbul report html && open coverage/index.html

generate_contract_wrappers

abi-gen --debug --abis ${npm_package_config_abis} --output test/generated-wrappers --backend ethers
npm i @0x/[email protected]

Metadata

Downloads