aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-05-26 20:06:40 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-05-26 20:06:40 +0800
commitfec5fb19c92153ac5638ce4970a74f4c60e8f2f3 (patch)
tree618c4dc65d485ea5622af6602b5c24ee56473c21 /package.json
parent9f163165677ac0443938a61e426a593048366f83 (diff)
downloaddexon-sol-tools-fec5fb19c92153ac5638ce4970a74f4c60e8f2f3.tar
dexon-sol-tools-fec5fb19c92153ac5638ce4970a74f4c60e8f2f3.tar.gz
dexon-sol-tools-fec5fb19c92153ac5638ce4970a74f4c60e8f2f3.tar.bz2
dexon-sol-tools-fec5fb19c92153ac5638ce4970a74f4c60e8f2f3.tar.lz
dexon-sol-tools-fec5fb19c92153ac5638ce4970a74f4c60e8f2f3.tar.xz
dexon-sol-tools-fec5fb19c92153ac5638ce4970a74f4c60e8f2f3.tar.zst
dexon-sol-tools-fec5fb19c92153ac5638ce4970a74f4c60e8f2f3.zip
Extract artifacts list to a variable
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json
index 3f27a8d2e..3efbcda7b 100644
--- a/package.json
+++ b/package.json
@@ -21,7 +21,10 @@
"docs:json": "typedoc --json docs/index.json .",
"docs:generate": "typedoc --out docs .",
"docs:open": "opn docs/index.html",
- "update_contracts": "artifacts=(Proxy Exchange TokenRegistry Token Mintable EtherToken); for i in \"${artifacts[@]}\"; do copyfiles -u 4 ./../contracts/build/contracts/$i.json ./../0x.js/src/artifacts; done;"
+ "update_contracts": "for i in ${npm_package_config_artifacts}; do copyfiles -u 4 ./../contracts/build/contracts/$i.json ./../0x.js/src/artifacts; done;"
+ },
+ "config": {
+ "artifacts": "Proxy Exchange TokenRegistry Token Mintable EtherToken"
},
"repository": {
"type": "git",