Skip to content

Commit

Permalink
Merge pull request #123 from hexojs/bump-hexo-to-v5
Browse files Browse the repository at this point in the history
Support hexo 5
  • Loading branch information
ertrzyiks committed Nov 22, 2020
2 parents 7f6d959 + 327d700 commit 1961060
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 297 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
language: node_js
node_js:
- "10"
- "12"

env:
- HEXO_VERSION=5.x
- HEXO_VERSION=4.x
- HEXO_VERSION=3.x

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![build status](https://travis-ci.org/hexojs/hexo-filter-responsive-images.svg?branch=master)](https://travis-ci.org/hexojs/hexo-filter-responsive-images)
[![npm version](https://badge.fury.io/js/hexo-filter-responsive-images.svg)](https://www.npmjs.com/package/hexo-filter-responsive-images)

Generate mutliple versions of images for responsive Hexo 3.x blogs
Generate mutliple versions of images for responsive blogs using Hexo >= 3.x.
It uses [sharp](https://github.com/lovell/sharp) library to transform images.

Comparison to similar plugins:
Expand Down
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"homepage": "https://github.com/hexojs/hexo-filter-responsive-images#readme",
"peerDependencies": {
"hexo": "3.x || 4.x"
"hexo": "3.x || 4.x || 5.x"
},
"dependencies": {
"bluebird": "^3.7.0",
Expand All @@ -32,12 +32,9 @@
"devDependencies": {
"@ava/babel": "^1.0.0",
"ava": "^3.0",
"hexo": "^4.0.0",
"hexo": "^5.1.1",
"hexo-test-utils": "^0.4.1"
},
"resolutions": {
"hexo/swig-templates/optimist/minimist": "0.2.1"
},
"ava": {
"files": [
"specs/*_spec.js"
Expand Down
Loading

0 comments on commit 1961060

Please sign in to comment.