Skip to content

Commit 951b60e

Browse files
author
Andrea Giammarchi
committed
using bash for min build
1 parent 35a05e5 commit 951b60e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"coveralls": "cat ./coverage/lcov.info | coveralls",
1616
"ie": "babel ./test/test.js --out-dir ./test/ie --plugins=$(node -e 'console.log([\"transform-es2015-classes\", \"transform-es2015-template-literals\"].concat(require(\"./babel-plugins.json\")).join(\",\"))')",
1717
"max": "rollup --config rollup.config.js && npm run cleanup",
18-
"min": "echo \"/*! (c) Andrea Giammarchi (ISC) */$(uglifyjs index.js --support-ie8 --comments=/^!/ -c -m)\" > min.js",
18+
"min": "bash -c 'echo \"/*! (c) Andrea Giammarchi (ISC) */$(uglifyjs index.js --support-ie8 --comments=/^!/ -c -m)\" > min.js'",
1919
"umd": "echo \"(function(A,G){if(typeof define=='function'&&define.amd)define([],G);else if(typeof module=='object'&&module.exports)module.exports=G();else A.hyperHTML=G()}(typeof self!='undefined'?self:this,function(){\">umd.js;cat min.js>>umd.js;echo \"return hyperHTML}));\">>umd.js",
2020
"size": "cat index.js | wc -c;cat min.js | wc -c;gzip -c9 min.js | wc -c",
2121
"brotli": "cat min.js | bro | wc -c",

0 commit comments

Comments
 (0)