aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-15 20:27:31 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-15 20:27:31 +0800
commitb966e9a691385834245a9311fc8c5c2caf747f3d (patch)
tree7c5341658a0a0dd715066edc5fc57124e7ea3284 /package.json
parent29be4a60afc5cc31a1b3ebfc2a005a6716a3817e (diff)
downloaddexon-sol-tools-b966e9a691385834245a9311fc8c5c2caf747f3d.tar.gz
dexon-sol-tools-b966e9a691385834245a9311fc8c5c2caf747f3d.tar.zst
dexon-sol-tools-b966e9a691385834245a9311fc8c5c2caf747f3d.zip
Add postrelease script to publish assets to github
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json
index d08456f22..b02cf1fb0 100644
--- a/package.json
+++ b/package.json
@@ -15,6 +15,7 @@
"prebuild": "npm run clean",
"build": "run-p build:*:prod",
"prepublish": "run-p build:umd:prod build:commonjs:dev",
+ "postpublish": "publish-release --assets _bundles/index.js _bundles/index.min.js",
"lint": "tslint src/*.ts test/*.ts",
"test": "run-s clean test:commonjs",
"test:umd": "./scripts/test_umd.sh",
@@ -91,6 +92,7 @@
"find-versions": "^2.0.0",
"jsonschema": "^1.1.1",
"lodash": "^4.17.4",
+ "publish-release": "^1.3.3",
"truffle-contract": "^2.0.1",
"web3": "^0.19.0"
}