mirror of
https://github.com/danbulant/markdown-wasm
synced 2026-06-18 06:01:03 +00:00
adds print-gzip-size npm script
This commit is contained in:
parent
440e6b66ef
commit
9941275ff7
1 changed files with 3 additions and 1 deletions
|
|
@ -27,8 +27,10 @@
|
|||
"scripts": {
|
||||
"build": "wasmc",
|
||||
"build-debug": "wasmc -g",
|
||||
"build-watch": "wasmc -g -w",
|
||||
"test": "wasmc -quiet && bash test/test.sh >/dev/null && echo OK",
|
||||
"update-web": "cp dist/markdown.js dist/markdown.wasm docs/"
|
||||
"update-web": "cp dist/markdown.js dist/markdown.wasm docs/",
|
||||
"print-gzip-size": "echo 'dist/markdown.{js,wasm} gzipped:' $(gzip -9 -c dist/markdown.js dist/markdown.wasm | wc -c | cat) bytes"
|
||||
},
|
||||
"author": "Rasmus Andersson <https://rsms.me/>",
|
||||
"license": "MIT",
|
||||
|
|
|
|||
Loading…
Reference in a new issue