aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-02-15 07:55:38 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-02-16 02:13:06 +0800
commit02951d48132686d0cd8c899e37685f9448998413 (patch)
treea221f2e5e0b6149c2e3979d68014b73c2677ae20 /packages
parentdb52ed994111dabe13593280c46afc3bd5f7574e (diff)
downloaddexon-sol-tools-02951d48132686d0cd8c899e37685f9448998413.tar
dexon-sol-tools-02951d48132686d0cd8c899e37685f9448998413.tar.gz
dexon-sol-tools-02951d48132686d0cd8c899e37685f9448998413.tar.bz2
dexon-sol-tools-02951d48132686d0cd8c899e37685f9448998413.tar.lz
dexon-sol-tools-02951d48132686d0cd8c899e37685f9448998413.tar.xz
dexon-sol-tools-02951d48132686d0cd8c899e37685f9448998413.tar.zst
dexon-sol-tools-02951d48132686d0cd8c899e37685f9448998413.zip
Add npm config for contracts list
Diffstat (limited to 'packages')
-rw-r--r--packages/contracts/package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index 9e8530c46..4b2232327 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -15,13 +15,16 @@
"test": "run-s compile build run_mocha",
"run_mocha": "mocha 'lib/test/**/*.js' --timeout 10000 --bail --exit",
"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 Exchange,DummyToken,ZRXToken,Token,WETH9,TokenTransferProxy,MultiSigWallet,MultiSigWalletWithTimeLock,MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress,MaliciousToken,TokenRegistry --contracts-dir src/contracts --artifacts-dir src/artifacts",
+ "compile": "node ../deployer/lib/src/cli.js compile --contracts ${npm_package_config_contracts} --contracts-dir src/contracts --artifacts-dir src/artifacts",
"clean": "shx -rf ./lib",
"generate_contract_wrappers": "node ../abi-gen/lib/index.js --abis 'src/artifacts/@(DummyToken|TokenTransferProxy|Exchange|TokenRegistry|MultiSigWallet|MultiSigWalletWithTimeLock|MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress|TokenRegistry|ZRXToken).json' --template contract_templates/contract.handlebars --partials 'contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated",
"migrate": "node ../deployer/lib/src/cli.js migrate",
"lint": "tslint --project . 'migrations/**/*.ts' 'test/**/*.ts' 'util/**/*.ts' 'deploy/**/*.ts'",
"test:circleci": "yarn test"
},
+ "config": {
+ "contracts": "Exchange,DummyToken,ZRXToken,Token,WETH9,TokenTransferProxy,MultiSigWallet,MultiSigWalletWithTimeLock,MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress,MaliciousToken,TokenRegistry"
+ },
"repository": {
"type": "git",
"url": "https://github.com/0xProject/0x.js.git"