script: add size test

This commit is contained in:
Yoshua Wuyts
2016-05-11 14:07:13 +07:00
parent 14bf553e66
commit 6699f412f7
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ experience and distills the essence of functional architectures into a
productive package. productive package.
## Features ## Features
- __minimal size:__ weighing under `15kb`, `choo` is a tiny little framework - __minimal size:__ weighing under `8kb`, `choo` is a tiny little framework
- __single state:__ immutable single state helps reason about changes - __single state:__ immutable single state helps reason about changes
- __minimal tooling:__ built for the cutting edge `browserify` compiler - __minimal tooling:__ built for the cutting edge `browserify` compiler
- __transparent side effects:__ using "effects" and "subscriptions" brings - __transparent side effects:__ using "effects" and "subscriptions" brings
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
# browserify index.js --full-paths \
# -g unassertify \
# -t uglifyify \
# | discify --open
browserify index.js --full-paths \
-g unassertify \
-g uglifyify \
| gzip-size \
| pretty-bytes