diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-15 20:27:31 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-15 20:27:31 +0800 |
commit | b966e9a691385834245a9311fc8c5c2caf747f3d (patch) | |
tree | 7c5341658a0a0dd715066edc5fc57124e7ea3284 /package.json | |
parent | 29be4a60afc5cc31a1b3ebfc2a005a6716a3817e (diff) | |
download | dexon-sol-tools-b966e9a691385834245a9311fc8c5c2caf747f3d.tar dexon-sol-tools-b966e9a691385834245a9311fc8c5c2caf747f3d.tar.gz dexon-sol-tools-b966e9a691385834245a9311fc8c5c2caf747f3d.tar.bz2 dexon-sol-tools-b966e9a691385834245a9311fc8c5c2caf747f3d.tar.lz dexon-sol-tools-b966e9a691385834245a9311fc8c5c2caf747f3d.tar.xz 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.json | 2 |
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" } |