mirror of
https://github.com/markedjs/marked
synced 2024-11-23 09:48:17 +00:00
Add minify commit
This commit is contained in:
parent
effe933e83
commit
245fe2c235
@ -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')"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user