aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-15 01:31:56 +0800
committerFabio Berger <me@fabioberger.com>2018-05-15 01:31:56 +0800
commit5f678acf46ac024ccd6a0a6ea002e0ddf7ff3ba5 (patch)
tree0930cee40eeadff6dfa229d5b2f2c4582ce7a0bb /packages/migrations
parent76f9ad0705e9d90b5bc052ee76262389ebfe2e40 (diff)
downloaddexon-sol-tools-5f678acf46ac024ccd6a0a6ea002e0ddf7ff3ba5.tar.gz
dexon-sol-tools-5f678acf46ac024ccd6a0a6ea002e0ddf7ff3ba5.tar.zst
dexon-sol-tools-5f678acf46ac024ccd6a0a6ea002e0ddf7ff3ba5.zip
Fix abi-gen binary so it can be called directly from packages
Diffstat (limited to 'packages/migrations')
-rw-r--r--packages/migrations/package.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/migrations/package.json b/packages/migrations/package.json
index 5eaa9530c..ca044e0ca 100644
--- a/packages/migrations/package.json
+++ b/packages/migrations/package.json
@@ -14,14 +14,15 @@
"migrate": "run-s build compile script:migrate",
"script:migrate": "node ./lib/migrate.js",
"copy_artifacts": "copyfiles 'artifacts/1.0.0/**/*' ./lib",
- "generate_contract_wrappers": "node ../abi-gen/lib/index.js --abis ${npm_package_config_abis} --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers --backend ethers && prettier --write 'src/contract_wrappers/**.ts'",
- "compile": "node ../sol-compiler/lib/src/cli.js compile"
+ "generate_contract_wrappers": "abi-gen --abis ${npm_package_config_abis} --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers --backend ethers && prettier --write 'src/contract_wrappers/**.ts'",
+ "compile": "sol-compiler"
},
"config": {
"abis": "artifacts/1.0.0/@(DummyToken|TokenTransferProxy|Exchange|TokenRegistry|MultiSigWallet|MultiSigWalletWithTimeLock|MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress|TokenRegistry|ZRXToken|Arbitrage|EtherDelta|AccountLevels|WETH9|MaliciousToken).json"
},
"license": "Apache-2.0",
"devDependencies": {
+ "@0xproject/abi-gen": "^0.2.13",
"@0xproject/dev-utils": "^0.4.1",
"@0xproject/types": "^0.6.3",
"@0xproject/tslint-config": "^0.4.17",