@0xproject/order-utils

v1.0.6
0x order utils

build

yarn pre_build && tsc -b

pre_build

run-s update_artifacts generate_contract_wrappers

generate_contract_wrappers

abi-gen --abis 'lib/src/artifacts/@(Exchange|IWallet|IValidator|DummyERC20Token|ERC20Proxy|ERC20Token).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/generated_contract_wrappers --backend ethers

update_artifacts

for i in ${npm_package_config_contracts_v2}; do copyfiles -u 4 ../migrations/artifacts/2.0.0-trimmed/$i.json lib/src/artifacts; done;

test

yarn run_mocha

rebuild_and_test

run-s build test

test:circleci

yarn test:coverage

run_mocha

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

test:coverage

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

coverage:report:lcov

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

clean

shx rm -rf lib lib/src/artifacts src/generated_contract_wrappers generated_docs

lint

tslint --project . --exclude **/src/generated_contract_wrappers/**/*

docs:json

typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES
npm i @0xproject/[email protected]

Metadata

Downloads