diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-17 05:59:59 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-12-05 06:24:06 +0800 |
commit | 6c00dd6f3900e322e5b6d5fe09b35fdafc1bfb2f (patch) | |
tree | 383c2dfd58a20e40c91e7e99498ad4264cfa88cd /packages/pipeline/package.json | |
parent | ada78d140b3d60997461e3786564baec291b7220 (diff) | |
download | dexon-sol-tools-6c00dd6f3900e322e5b6d5fe09b35fdafc1bfb2f.tar dexon-sol-tools-6c00dd6f3900e322e5b6d5fe09b35fdafc1bfb2f.tar.gz dexon-sol-tools-6c00dd6f3900e322e5b6d5fe09b35fdafc1bfb2f.tar.bz2 dexon-sol-tools-6c00dd6f3900e322e5b6d5fe09b35fdafc1bfb2f.tar.lz dexon-sol-tools-6c00dd6f3900e322e5b6d5fe09b35fdafc1bfb2f.tar.xz dexon-sol-tools-6c00dd6f3900e322e5b6d5fe09b35fdafc1bfb2f.tar.zst dexon-sol-tools-6c00dd6f3900e322e5b6d5fe09b35fdafc1bfb2f.zip |
Rebase and update to use new modularized artifacts
Diffstat (limited to 'packages/pipeline/package.json')
-rw-r--r-- | packages/pipeline/package.json | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/packages/pipeline/package.json b/packages/pipeline/package.json index c01b7f448..be23bfe2c 100644 --- a/packages/pipeline/package.json +++ b/packages/pipeline/package.json @@ -4,21 +4,17 @@ "private": true, "description": "Data pipeline for offline analysis", "scripts": { - "build": "yarn pre_build && tsc -b", - "pre_build": "run-s update_artifacts copy_artifacts", - "copy_artifacts": "copyfiles -u 2 './src/artifacts/**/*.json' ./lib/src/artifacts", - "update_artifacts": "for i in ${npm_package_config_contracts_v2}; do copyfiles -u 4 ../migrations/artifacts/2.0.0/$i.json src/artifacts; done;", + "build": "yarn tsc -b", "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 src/artifacts", - "lint": "tslint --project . --exclude **/src/generated_contract_wrappers/**/*" + "clean": "shx rm -rf lib", + "lint": "tslint --project ." }, "config": { - "contracts_v2": "Exchange", "postpublish": { "assets": [] } @@ -39,6 +35,7 @@ "typescript": "3.0.1" }, "dependencies": { + "@0xproject/contract-artifacts": "^1.0.0", "@0xproject/connect": "^2.0.4", "@0xproject/contract-wrappers": "^1.0.1", "@0xproject/order-utils": "^1.0.2", |