diff options
author | Kadinsky <kandinsky454@protonmail.ch> | 2018-10-16 21:21:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-16 21:21:46 +0800 |
commit | e62458705039f6a187ff23e4e4ee1737476eb431 (patch) | |
tree | 27497ebaf0e7da27561620b28b28cc30833261fc /packages/fill-scenarios/package.json | |
parent | 05bf7a8280bcb46144dfef9b30bb7c0e2e4a15aa (diff) | |
parent | 5938e8a52daa913668593977e44ca25e38a29e41 (diff) | |
download | dexon-sol-tools-e62458705039f6a187ff23e4e4ee1737476eb431.tar dexon-sol-tools-e62458705039f6a187ff23e4e4ee1737476eb431.tar.gz dexon-sol-tools-e62458705039f6a187ff23e4e4ee1737476eb431.tar.bz2 dexon-sol-tools-e62458705039f6a187ff23e4e4ee1737476eb431.tar.lz dexon-sol-tools-e62458705039f6a187ff23e4e4ee1737476eb431.tar.xz dexon-sol-tools-e62458705039f6a187ff23e4e4ee1737476eb431.tar.zst dexon-sol-tools-e62458705039f6a187ff23e4e4ee1737476eb431.zip |
Merge pull request #1105 from 0xProject/feature/contracts-artifacts-re-org
Reorganize and modularize generated contract wrappers and artifacts
Diffstat (limited to 'packages/fill-scenarios/package.json')
-rw-r--r-- | packages/fill-scenarios/package.json | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/packages/fill-scenarios/package.json b/packages/fill-scenarios/package.json index dd6ede3e0..fc30f11dc 100644 --- a/packages/fill-scenarios/package.json +++ b/packages/fill-scenarios/package.json @@ -5,17 +5,10 @@ "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { - "build": "yarn pre_build && tsc -b", + "build": "yarn tsc -b", "build:ci": "yarn build", - "pre_build": "run-s update_artifacts generate_contract_wrappers", - "update_artifacts": "for i in ${npm_package_config_contracts}; do copyfiles -u 4 ../migrations/artifacts/2.0.0-trimmed/$i.json lib/artifacts; done;", - "generate_contract_wrappers": "abi-gen --abis 'lib/artifacts/@(Exchange|DummyERC20Token|DummyERC721Token).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/generated_contract_wrappers --backend ethers", - "copy_monorepo_scripts": "copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts", "clean": "shx rm -rf lib src/generated_contract_wrappers", - "lint": "tslint --project . --exclude **/src/generated_contract_wrappers/**/*" - }, - "config": { - "contracts": "Exchange DummyERC20Token DummyERC721Token" + "lint": "tslint --project ." }, "license": "Apache-2.0", "repository": { @@ -27,18 +20,17 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/fill-scenarios/README.md", "devDependencies": { - "@0xproject/abi-gen": "^1.0.13", "@0xproject/tslint-config": "^1.0.8", "@types/lodash": "4.14.104", - "copyfiles": "^2.0.0", "make-promises-safe": "^1.1.0", - "npm-run-all": "^4.1.2", "shx": "^0.2.2", "tslint": "5.11.0", "typescript": "3.0.1" }, "dependencies": { + "@0xproject/abi-gen-wrappers": "^1.0.0", "@0xproject/base-contract": "^3.0.1", + "@0xproject/contract-artifacts": "^1.0.0", "@0xproject/order-utils": "^1.0.7", "@0xproject/types": "^1.1.4", "@0xproject/typescript-typings": "^3.0.2", |