diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-11-22 21:16:08 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-11-22 21:48:15 +0800 |
commit | 06cc66005cf0713fcc877ae67b51b38fb110b09d (patch) | |
tree | 9823f26c8f83f5051aa2b5a6068fe9c542eaeb4c /packages/abi-gen-wrappers/package.json | |
parent | a5359df002d121c1b7c1f29e8a2bd8b351090ee3 (diff) | |
download | dexon-sol-tools-06cc66005cf0713fcc877ae67b51b38fb110b09d.tar dexon-sol-tools-06cc66005cf0713fcc877ae67b51b38fb110b09d.tar.gz dexon-sol-tools-06cc66005cf0713fcc877ae67b51b38fb110b09d.tar.bz2 dexon-sol-tools-06cc66005cf0713fcc877ae67b51b38fb110b09d.tar.lz dexon-sol-tools-06cc66005cf0713fcc877ae67b51b38fb110b09d.tar.xz dexon-sol-tools-06cc66005cf0713fcc877ae67b51b38fb110b09d.tar.zst dexon-sol-tools-06cc66005cf0713fcc877ae67b51b38fb110b09d.zip |
Make contract-templates an npm package
Diffstat (limited to 'packages/abi-gen-wrappers/package.json')
-rw-r--r-- | packages/abi-gen-wrappers/package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/abi-gen-wrappers/package.json b/packages/abi-gen-wrappers/package.json index 0977ca03a..df1c484ec 100644 --- a/packages/abi-gen-wrappers/package.json +++ b/packages/abi-gen-wrappers/package.json @@ -15,7 +15,7 @@ "lint": "tslint --format stylish --project .", "pre_build": "yarn generate_contract_wrappers", "clean": "shx rm -rf lib wrappers", - "generate_contract_wrappers": "abi-gen --abis ${npm_package_config_abis} --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/generated-wrappers --backend ethers" + "generate_contract_wrappers": "abi-gen --abis ${npm_package_config_abis} --template ../../node_modules/@0x/contract-templates/contract.handlebars --partials '../../node_modules/@0x/contract-templates/partials/**/*.handlebars' --output src/generated-wrappers --backend ethers" }, "config": { "abis": "../contract-artifacts/artifacts/@(AssetProxyOwner|DummyERC20Token|DummyERC721Token|ERC20Proxy|ERC20Token|ERC721Proxy|ERC721Token|Exchange|Forwarder|IValidator|IWallet|OrderValidator|WETH9|ZRXToken).json" @@ -31,6 +31,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/abi-gen-wrappers/README.md", "devDependencies": { "@0x/abi-gen": "^1.0.17", + "@0x/contract-templates": "^1.0.0", "@0x/tslint-config": "^1.0.10", "@0x/types": "^1.3.0", "@0x/utils": "^2.0.6", |