aboutsummaryrefslogtreecommitdiffstats
path: root/packages/abi-gen-wrappers
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-11-26 21:12:13 +0800
committerGitHub <noreply@github.com>2018-11-26 21:12:13 +0800
commit7b152176948c02e7bf1c27e377530fc3c6d9245a (patch)
tree065bfc9d0b9d193f20035a1849912cc25f8cff1a /packages/abi-gen-wrappers
parent8caded1d1d94d03aa49a2490b46eaebd8bf5ed74 (diff)
parent9ddd45e2c687280041cc0bb4cd7cb3c1a2c22767 (diff)
downloaddexon-sol-tools-7b152176948c02e7bf1c27e377530fc3c6d9245a.tar
dexon-sol-tools-7b152176948c02e7bf1c27e377530fc3c6d9245a.tar.gz
dexon-sol-tools-7b152176948c02e7bf1c27e377530fc3c6d9245a.tar.bz2
dexon-sol-tools-7b152176948c02e7bf1c27e377530fc3c6d9245a.tar.lz
dexon-sol-tools-7b152176948c02e7bf1c27e377530fc3c6d9245a.tar.xz
dexon-sol-tools-7b152176948c02e7bf1c27e377530fc3c6d9245a.tar.zst
dexon-sol-tools-7b152176948c02e7bf1c27e377530fc3c6d9245a.zip
Merge pull request #1305 from 0xProject/feature/contract-templates
[@0x/contract-templates] Make contract-templates an npm package
Diffstat (limited to 'packages/abi-gen-wrappers')
-rw-r--r--packages/abi-gen-wrappers/package.json3
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..1b7015d55 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/abi-gen-templates/contract.handlebars --partials '../../node_modules/@0x/abi-gen-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/abi-gen-templates": "^1.0.0",
"@0x/tslint-config": "^1.0.10",
"@0x/types": "^1.3.0",
"@0x/utils": "^2.0.6",