aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/package.json
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-04-01 14:54:56 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-04-02 01:45:25 +0800
commit20fec2943bebc50059b1a9a0646f263b07aba88b (patch)
tree431c578baba8be739f243f786bd035e207beffa0 /packages/contracts/package.json
parent1bac5019e84a11843fed3100c36c9b3c47abe430 (diff)
downloaddexon-sol-tools-20fec2943bebc50059b1a9a0646f263b07aba88b.tar
dexon-sol-tools-20fec2943bebc50059b1a9a0646f263b07aba88b.tar.gz
dexon-sol-tools-20fec2943bebc50059b1a9a0646f263b07aba88b.tar.bz2
dexon-sol-tools-20fec2943bebc50059b1a9a0646f263b07aba88b.tar.lz
dexon-sol-tools-20fec2943bebc50059b1a9a0646f263b07aba88b.tar.xz
dexon-sol-tools-20fec2943bebc50059b1a9a0646f263b07aba88b.tar.zst
dexon-sol-tools-20fec2943bebc50059b1a9a0646f263b07aba88b.zip
Create solc_bin dir if does not exist before attempting to compile
Diffstat (limited to 'packages/contracts/package.json')
-rw-r--r--packages/contracts/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index 0c931344d..26e99e7b5 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -18,7 +18,7 @@
"compile:comment": "Yarn workspaces do not link binaries correctly so we need to reference them directly https://github.com/yarnpkg/yarn/issues/3846",
"compile": "node ../deployer/lib/src/cli.js compile --contracts ${npm_package_config_contracts} --contracts-dir src/contracts --artifacts-dir src/artifacts",
"clean": "shx rm -rf ./lib",
- "generate_contract_wrappers": "node ../abi-gen/lib/index.js --abis 'src/artifacts/@(DummyToken|TokenTransferProxy|Exchange|TokenRegistry|MultiSigWallet|MultiSigWalletWithTimeLock|MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress|TokenRegistry|ZRXToken|Arbitrage|EtherDelta|AccountLevels).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated --backend ethers && prettier --write 'src/contract_wrappers/generated/**.ts'",
+ "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/generated --backend ethers && prettier --write 'src/contract_wrappers/generated/**.ts'",
"migrate": "yarn build && yarn compile && node ./lib/migrations/index.js",
"lint": "tslint --project . 'migrations/**/*.ts' 'test/**/*.ts' 'util/**/*.ts' 'deploy/**/*.ts'",
"coverage:report:text": "istanbul report text",
@@ -27,6 +27,7 @@
"test:circleci": "yarn test:coverage"
},
"config": {
+ "abis": "src/artifacts/@(DummyToken|TokenTransferProxy|Exchange|TokenRegistry|MultiSigWallet|MultiSigWalletWithTimeLock|MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress|TokenRegistry|ZRXToken|Arbitrage|EtherDelta|AccountLevels).json",
"contracts": "Exchange,DummyToken,ZRXToken,Token,WETH9,TokenTransferProxy,MultiSigWallet,MultiSigWalletWithTimeLock,MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress,MaliciousToken,TokenRegistry,Arbitrage,EtherDelta,AccountLevels"
},
"repository": {