diff options
-rw-r--r-- | package.json | 5 |
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", |