aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/package.json
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-05-03 05:14:17 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-05-03 06:23:05 +0800
commitc84be8ddb350d17575e4bb6824fc195e590419fa (patch)
tree919bf3d5c11d73829b6f6ae191ff417baf4d42be /packages/contracts/package.json
parent853b5e1b72733c5dee862a62b549a6c784aeb4eb (diff)
downloaddexon-sol-tools-c84be8ddb350d17575e4bb6824fc195e590419fa.tar
dexon-sol-tools-c84be8ddb350d17575e4bb6824fc195e590419fa.tar.gz
dexon-sol-tools-c84be8ddb350d17575e4bb6824fc195e590419fa.tar.bz2
dexon-sol-tools-c84be8ddb350d17575e4bb6824fc195e590419fa.tar.lz
dexon-sol-tools-c84be8ddb350d17575e4bb6824fc195e590419fa.tar.xz
dexon-sol-tools-c84be8ddb350d17575e4bb6824fc195e590419fa.tar.zst
dexon-sol-tools-c84be8ddb350d17575e4bb6824fc195e590419fa.zip
Update contracts with revert reasons and constructor keyword
Diffstat (limited to 'packages/contracts/package.json')
-rw-r--r--packages/contracts/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index 410735359..540846731 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 ../migrations/src/artifacts",
+ "node ../deployer/lib/src/cli.js compile --contracts ${npm_package_config_contracts} --should-optimize true --contracts-dir src/contracts --artifacts-dir ../migrations/src/artifacts",
"clean": "shx rm -rf ./lib ./src/contract_wrappers/generated",
"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'",