From fec5fb19c92153ac5638ce4970a74f4c60e8f2f3 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 26 May 2017 14:06:40 +0200 Subject: Extract artifacts list to a variable --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'package.json') 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", -- cgit v1.2.3