From 8b8af276efe656b5e786b5b17913bf5940eb5a92 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 28 May 2021 08:28:18 -0600 Subject: [PATCH] add build command --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4b9fd65..60f9852 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "A fast, lightweight, zero-dependency library to translate between Time Zones and UTC with native Intl.DateTimeFormat in ~100 LoC. For Node.js & Browsers.", "main": "xtz.js", "scripts": { - "test": "node ./test.js" + "test": "node ./test.js", + "build": "uglifyjs ./xtz.js > ./xtz.min.js ; gzip -k -f ./xtz.min.js" }, "repository": { "type": "git",