Commit Graph

68 Commits

Author SHA1 Message Date
curbengh 679dcaf077
test: add tests for html, js, css minifiers 2019-12-26 13:19:39 +00:00
curbengh 0c270a4594
release: v3.2.3 2019-12-16 08:45:28 +00:00
curbengh 89a6dcea9e
release: v3.2.2 2019-11-09 07:26:42 +00:00
curbengh 85bfd3ba35
release: v3.2.1 2019-10-10 08:06:54 +01:00
curbengh 26b466c1bf
release: v3.2.0 2019-10-09 23:34:32 +01:00
curbengh 680ee73a03
release: v3.1.0 2019-09-25 08:44:30 +01:00
curbengh ff3b07c9e2
release: v3.0.0 2019-09-11 02:48:40 +01:00
curbengh 2930f1da1d
release: v2.2.1 2019-08-09 11:49:15 +09:30
curbengh 5b8549077f
release: v2.2.0 2019-08-06 12:06:00 +09:30
curbengh d964918d21
chore: use simpler repo value 2019-08-06 12:05:16 +09:30
curbengh 7d06de7e79 release: v2.1.1 2019-07-18 17:34:54 +09:30
curbengh 37dac8c011 chore: update username 2019-07-18 17:34:26 +09:30
weyusi 374b24e9f4 release: v2.1.0 2019-07-10 12:17:00 +09:30
weyusi 41ecf75f71 chore: npmignore is not used 2019-07-10 12:16:01 +09:30
weyusi c69b6d3356 feat: switch nanomatch to micromatch 2019-07-10 11:50:23 +09:30
weyusi 98f174cd7a chore: specify minor version of node
* https://node.green
2019-06-22 14:16:16 +09:30
weyusi 7203ea2abe release: v2.0.4 2019-06-08 17:25:53 +09:30
weyusi 0623ca7e31 chore(deps): Update terser from 3.17.0 to 4.0.0 2019-05-21 16:56:01 +09:30
weyusi 3929884c8c chore(package): Set PR title for greenkeeper
https://greenkeeper.io/docs.html#custom-pr-titles
2019-05-21 16:46:47 +09:30
weyusi 587b460029 chore(package): use dependabot commit message
* (package) for non-deps change
2019-05-21 16:36:43 +09:30
weyusi 9c8af3b30f chore(package): change greenkeeper commit message
ref:
https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#type
https://github.com/hexojs/hexo/commits/master
2019-05-21 16:31:57 +09:30
weyusi 9bb184e9cf release: v2.0.3 2019-05-21 13:47:14 +09:30
weyusi 37aa7f9758 release: v2.0.2 2019-05-18 17:07:24 +09:30
weyusi ea2a4afe99 release: v2.0.1 2019-05-13 16:53:22 +09:30
weyusi 3d08e37c8f chore: specify files in package.json 2019-05-13 16:44:51 +09:30
weyusi 302ea906a1 release: v2.0.0 2019-04-23 17:48:08 +09:30
weyusi 15465ca16b feat: minify svg using svgo 2019-04-23 17:33:30 +09:30
weyusi 02b323868a release: v1.4.0 2019-04-23 14:20:02 +09:30
weyusi fa2efb9bd3 release: v1.3.2 2019-04-22 21:43:04 +09:30
weyusi 5e19490e44 refactor: switch minimatch to nanomatch
https://github.com/micromatch/nanomatch
2019-04-22 21:40:15 +09:30
weyusi 2b5585be73 release: v1.3.1 2019-04-22 20:28:40 +09:30
weyusi f1171393f8 refactor: drop bluebird 2019-04-22 20:27:42 +09:30
weyusi 9b52aed8e4 release: v1.3.0 2019-04-22 18:43:07 +09:30
weyusi 3aa5143adf release: v1.2.0 2019-04-10 19:35:15 +09:30
weyusi 2a9c5a52b4 feat: switch to terser for ES6 compatibility 2019-04-10 19:24:02 +09:30
weyusi 4c2b9e2d1f release: v1.1.1 2019-04-05 16:22:31 +10:30
weyusi 6f50b501d6 chore: update blubird to v3.5.4 2019-04-05 16:16:50 +10:30
greenkeeper[bot] e82d43d0e2 fix(package): update html-minifier to version 4.0.0 2019-04-01 18:50:56 +00:00
weyusi 734342df00 release: v1.1.0 2019-03-14 20:03:03 +10:30
weyusi 5c0ef6c738 docs: mention xml and json in readme 2019-03-14 20:00:38 +10:30
weyusi fa30a2f22d chore: update deps 2019-03-14 19:50:41 +10:30
weyusi 668a1c8d71 v1.0.4 2018-11-02 20:59:59 +10:30
weyusi 486c37845b v1.0.3 2018-10-27 18:39:34 +10:30
weyusi 0946ab2f7b refactor: remove object-assign ponyfill
Object.assign() is supported by node 4 and up
2018-10-27 18:38:12 +10:30
weyusi 9c97c00aa4 refactor: var to let/const
https://hacks.mozilla.org/2015/07/es6-in-depth-let-and-const/
2018-10-26 15:27:23 +10:30
weyusi 0296c15fda Update readme formatting 2018-10-25 20:44:33 +10:30
weyusi 84f7a911d3 Bump version 2018-10-25 20:16:33 +10:30
weyusi a6c5727d4b Remove unused library 2018-10-25 20:14:27 +10:30
weyusi 8a8c5563c4 Apply level 2 optimisation of clean-css
https://github.com/jakubpawlowicz/clean-css#level-2-optimizations
2018-10-19 12:34:34 +10:30
weyusi 1dafc72850 Use after_generate instead of before_exit
before_exit was a workaround instead of proper after_generate
Use hexo router instead of filesystem manipulation, so hexo-fs is not required anymore
this approach also allows size comparison of original and compressed file, just like minifier currently have
inspired by
 - https://www.travisgeis.com/2018/04/23/lazy-image-resizing-in-hexo-image-sizes-v2/
 - https://github.com/ottobonn/hexo-image-sizes/blob/master/lib/ImageResizer.js
 - https://github.com/chenzhutian/hexo-all-minifier/blob/master/lib/concatJS.js
 - https://stackoverflow.com/a/39441194
2018-10-05 13:38:55 +09:30