aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-05-26 01:45:44 +0800
committerFabio Berger <me@fabioberger.com>2017-05-26 01:45:44 +0800
commit74e7dc46b4ba8b3931a1cdf4dc7f55670219e324 (patch)
tree8d32edd39e436c3073eb9d86b9347b21971c6dbe /package.json
parentf7b8378a6eb4b4c6c3461ff677723869c67a4753 (diff)
downloaddexon-sol-tools-74e7dc46b4ba8b3931a1cdf4dc7f55670219e324.tar
dexon-sol-tools-74e7dc46b4ba8b3931a1cdf4dc7f55670219e324.tar.gz
dexon-sol-tools-74e7dc46b4ba8b3931a1cdf4dc7f55670219e324.tar.bz2
dexon-sol-tools-74e7dc46b4ba8b3931a1cdf4dc7f55670219e324.tar.lz
dexon-sol-tools-74e7dc46b4ba8b3931a1cdf4dc7f55670219e324.tar.xz
dexon-sol-tools-74e7dc46b4ba8b3931a1cdf4dc7f55670219e324.tar.zst
dexon-sol-tools-74e7dc46b4ba8b3931a1cdf4dc7f55670219e324.zip
Add npm command to update contact artifacts
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/package.json b/package.json
index 557d6eeff..bac3a8a75 100644
--- a/package.json
+++ b/package.json
@@ -20,7 +20,8 @@
"test:coverage": "nyc npm run test --all",
"docs:json": "typedoc --json docs/index.json .",
"docs:generate": "typedoc --out docs .",
- "docs:open": "opn docs/index.html"
+ "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;"
},
"repository": {
"type": "git",
@@ -40,6 +41,7 @@
"bignumber.js": "^4.0.2",
"chai": "^3.5.0",
"chai-bignumber": "^2.0.0",
+ "copyfiles": "^1.2.0",
"mocha": "^3.4.1",
"npm-run-all": "^4.0.2",
"nyc": "^10.3.2",