aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorChen Wei <wei.chen@cobinhood.com>2018-11-27 11:27:21 +0800
committerChen Wei <wei.chen@cobinhood.com>2018-11-27 11:27:21 +0800
commitc48358391025b265da2c78b932b879c5e38af614 (patch)
tree06b4303970611728e153e6065b57e328de2eb3ad /package.json
parent8aac9f92066fe37add9215546422a0db9ca514e9 (diff)
downloaddexon-lottery-c48358391025b265da2c78b932b879c5e38af614.tar
dexon-lottery-c48358391025b265da2c78b932b879c5e38af614.tar.gz
dexon-lottery-c48358391025b265da2c78b932b879c5e38af614.tar.bz2
dexon-lottery-c48358391025b265da2c78b932b879c5e38af614.tar.lz
dexon-lottery-c48358391025b265da2c78b932b879c5e38af614.tar.xz
dexon-lottery-c48358391025b265da2c78b932b879c5e38af614.tar.zst
dexon-lottery-c48358391025b265da2c78b932b879c5e38af614.zip
upload Election contract
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index 493705f..d5a7f77 100644
--- a/package.json
+++ b/package.json
@@ -11,7 +11,8 @@
},
"scripts": {
"postinstall": "rm -rf node_modules/truffle/node_modules/solc && cp -r node_modules/solc node_modules/truffle/node_modules/; touch secret.js",
- "compile": "node_modules/.bin/truffle compile"
+ "compile": "node_modules/.bin/truffle compile",
+ "deploy": "node_modules/.bin/truffle migrate --network=testnet"
},
"dependencies": {
"solc": "github:dexon-foundation/dsolc-js#v0.4.25",