From 8812bf3393e3525bf0aaefda1882a00095c10894 Mon Sep 17 00:00:00 2001 From: Anton Medvedev Date: Wed, 30 Jan 2019 10:14:56 +0700 Subject: [PATCH] Add compression of assets --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 16c5909..35ebf04 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,8 @@ "scripts": { "test": "ava", "build": "pkg . --out-path dist -t node8-linux-x64,node8-macos-x64,node8-win-x64", - "release": "npm run build && release-it --github.release --github.assets=dist/*" + "zip": "cd dist && find . -name 'fx-*' -exec zip '{}.zip' '{}' \\;", + "release": "npm run build && npm run zip && release-it --github.release --github.assets=dist/*.zip" }, "keywords": [ "json",