From 39e0a526f8236de45b537d231d37dd53ac509052 Mon Sep 17 00:00:00 2001 From: Andrea Giammarchi Date: Wed, 2 Mar 2016 19:18:16 +0000 Subject: [PATCH] added simple size utility and updated package.json --- 2/utils/size | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100755 2/utils/size diff --git a/2/utils/size b/2/utils/size new file mode 100755 index 00000000..0766994e --- /dev/null +++ b/2/utils/size @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +echo "twemoji.js $(cat 2/twemoji.js | wc -c)" +echo "twemoji.js gzipped $(gzip -c 2/twemoji.js | wc -c)" +echo "twemoji.min.js $(cat 2/twemoji.min.js | wc -c)" +echo "twemoji.min.js gzipped $(gzip -c 2/twemoji.min.js | wc -c)" diff --git a/package.json b/package.json index b39623ad..aecc921e 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "2.0.2", + "version": "2.0.3", "name": "twemoji", "license": ["MIT", "CC-BY-4.0"], "description": "A Unicode 8 standard based way to implement emoji across all platforms.",