Add minify commit

This commit is contained in:
Josh Bruce 2018-02-25 11:44:10 -05:00
parent effe933e83
commit 245fe2c235

View File

@ -34,6 +34,6 @@
"test": "node test",
"bench": "node test --bench",
"build": "uglifyjs lib/marked.js -cm --comments /Copyright/ -o marked.min.js",
"preversion": "npm run build"
"preversion": "npm run build && (git diff --quiet || git commit -am 'minify')"
}
}