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/metacoin | |
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/metacoin')
-rw-r--r-- | packages/metacoin/package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/metacoin/package.json b/packages/metacoin/package.json index c5679a1d6..8081c03c9 100644 --- a/packages/metacoin/package.json +++ b/packages/metacoin/package.json @@ -18,7 +18,7 @@ "test:coverage": "SOLIDITY_COVERAGE=true run-s build run_mocha coverage:report:text coverage:report:lcov", "test:profile": "SOLIDITY_PROFILER=true run-s build run_mocha profiler:report:html", "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js lib/test/global_hooks.js --bail --exit --timeout 10000", - "generate_contract_wrappers": "abi-gen --abis 'artifacts/Metacoin.json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers --backend ethers", + "generate_contract_wrappers": "abi-gen --abis 'artifacts/Metacoin.json' --template ../../node_modules/@0x/contract-templates/contract.handlebars --partials '../../node_modules/@0x/contract-templates/partials/**/*.handlebars' --output src/contract_wrappers --backend ethers", "coverage:report:text": "istanbul report text", "coverage:report:html": "istanbul report html && open coverage/index.html", "profiler:report:html": "istanbul report html && open coverage/index.html", @@ -30,6 +30,7 @@ "license": "Apache-2.0", "dependencies": { "@0x/abi-gen": "^1.0.17", + "@0x/contract-templates": "^1.0.0", "@0x/base-contract": "^3.0.7", "@0x/sol-cov": "^2.1.13", "@0x/subproviders": "^2.1.5", |