Commit Graph

251 Commits

Author SHA1 Message Date
weyusi a87dd05ff4 refactor: new is not necessary
https://nodejs.org/api/buffer.html#buffer_class_method_buffer_from_string_encoding
2019-05-02 16:34:11 +09:30
weyusi cdee4c0768 style: Standard JS 2019-05-02 15:55:43 +09:30
weyusi cceae36368 style: fix comment 2019-04-23 17:57:52 +09:30
weyusi ce7a1f607d docs: minify svg 2019-04-23 17:51:44 +09:30
weyusi 302ea906a1 release: v2.0.0 2019-04-23 17:48:08 +09:30
weyusi 374c16575b style: rearrange and give more neat_js config examples 2019-04-23 17:46:56 +09:30
weyusi 55b48a76aa
Merge pull request #10 from weyusi/svgo
feat: minify svg using svgo
2019-04-23 17:32:38 +09:30
weyusi 15465ca16b feat: minify svg using svgo 2019-04-23 17:33:30 +09:30
weyusi a219775d6c
Merge pull request #9 from weyusi/file-ext
feat: allow custom file extension for compressions
2019-04-23 16:44:48 +09:30
weyusi 528486761d feat: allow custom file extension for compressions 2019-04-23 15:10:43 +09:30
weyusi 02b323868a release: v1.4.0 2019-04-23 14:20:02 +09:30
weyusi ad5f82712c style: tab to space 2019-04-23 13:35:59 +09:30
weyusi ce973f940f docs: rearrange options 2019-04-23 13:32:08 +09:30
weyusi 94a8f90c2b feat: allow custom options for neat_css
https://github.com/jakubpawlowicz/clean-css
2019-04-23 13:26:43 +09:30
weyusi b93e92b1bb docs: more glob pattern examples, fix Terser link and typo 2019-04-23 13:17:22 +09:30
weyusi 5a5a6fb504 fix: neat_js exclude
delete operator previously remove reference including 'options.exclude',
use Object.assign to clone 'options' object to prevent that.
https://stackoverflow.com/a/33053362
2019-04-23 12:30:47 +09:30
weyusi 1de8ec2cd9 refactor: use nanomatch.some()
.some supports string and array patterns, so no need for loop.
https://github.com/micromatch/nanomatch#some
2019-04-23 12:25:17 +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 369bad96b7 refactor: use new method of accessing zlib constants
"Accessing the constants directly from the module is currently still possible but is deprecated."
https://nodejs.org/api/zlib.html#zlib_zlib_constants
2019-04-22 20:08:50 +09:30
weyusi 9b52aed8e4 release: v1.3.0 2019-04-22 18:43:07 +09:30
weyusi 42016f50da docs: support more file extensions 2019-04-22 18:42:30 +09:30
weyusi 4f5104c408 fix: use the default options for brotli
brotli already defaults to max (11) compression level
BROTLI_MAX_QUALITY is unnecessary and somehow corresponds to lower level
2019-04-22 18:28:00 +09:30
weyusi 49c9fcb310 feat: support more file extensions
based on the list by https://github.com/philnash/jekyll-gzip
2019-04-22 18:24:31 +09:30
weyusi 1ea89ec108 chore: disable package-lock.json 2019-04-12 14:44:25 +09:30
weyusi 3aa5143adf release: v1.2.0 2019-04-10 19:35:15 +09:30
weyusi cb4dc87a5a docs: replace uglifyjs with terser 2019-04-10 19:34:43 +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 f55b96d32a
Merge pull request #7 from weyusi/update-bluebird
chore: update blubird to v3.5.4
2019-04-05 16:19:12 +10:30
weyusi 6f50b501d6 chore: update blubird to v3.5.4 2019-04-05 16:16:50 +10:30
weyusi e9ced440d7
Merge pull request #4 from weyusi/greenkeeper/html-minifier-4.0.0
chore: Update html-minifier to the latest version 🚀
2019-04-05 16:13:17 +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 84b2457371
Merge pull request #3 from weyusi/xml-json
feat: compress xml and json
2019-03-14 19:46:21 +10:30
weyusi 3bd69a5b24 feat: compress xml and json 2019-03-08 21:07:51 +10:30
weyusi 7d2f7488aa style: fix formatting and grammar 2018-11-02 21:10:36 +10:30
weyusi 668a1c8d71 v1.0.4 2018-11-02 20:59:59 +10:30
weyusi 85901176cf docs: add more info on brotli 2018-11-02 20:59:00 +10:30
weyusi a6464c1516 test: update package.json to snyk in every build 2018-10-30 18:37:10 +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 c3a10de6ee Update readme formatting 2018-10-26 15:36:58 +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 4c742451e2 Remove package-lock.json 2018-10-26 13:16:08 +10:30
weyusi 0296c15fda Update readme formatting 2018-10-25 20:44:33 +10:30