add build command

This commit is contained in:
AJ ONeal 2021-05-28 08:28:18 -06:00
parent 72f68a10f0
commit 8b8af276ef
1 changed files with 2 additions and 1 deletions

View File

@ -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",