grunt-html2md
Advanced tools
Comparing version 1.2.0 to 2.0.0
{ | ||
"name": "grunt-html2md", | ||
"description": "Transform HTML files to Markdown in a Grunt task", | ||
"version": "1.2.0", | ||
"version": "2.0.0", | ||
"homepage": "https://github.com/paazmaya/grunt-html2md", | ||
@@ -24,21 +24,21 @@ "author": { | ||
], | ||
"main": "Gruntfile.js", | ||
"main": "tasks/html2md.js", | ||
"engines": { | ||
"node": ">=4.2.0" | ||
"node": ">=8.11.1" | ||
}, | ||
"scripts": { | ||
"test": "grunt test", | ||
"lint": "eslint -c .eslintrc.json Gruntfile.js tasks test" | ||
"lint": "eslint Gruntfile.js tasks test" | ||
}, | ||
"dependencies": { | ||
"to-markdown": "~3.0" | ||
"to-markdown": "~3.1" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^3.2.2", | ||
"eslint-config-paazmaya": "^2.3.1", | ||
"grunt": "~1.0", | ||
"grunt-contrib-clean": "~1.0", | ||
"grunt-contrib-nodeunit": "~1.0", | ||
"eslint": "^5.12.1", | ||
"eslint-config-paazmaya": "^5.1.0", | ||
"grunt": "~1.0.3", | ||
"grunt-contrib-clean": "~2.0", | ||
"grunt-contrib-nodeunit": "~2.0", | ||
"jit-grunt": "~0.10", | ||
"time-grunt": "~1.4" | ||
"time-grunt": "~2.0" | ||
}, | ||
@@ -45,0 +45,0 @@ "peerDependencies": { |
@@ -7,3 +7,3 @@ # grunt-html2md | ||
[![Code Climate](https://img.shields.io/codeclimate/github/paazmaya/grunt-html2md.svg?style=flat-square)](https://codeclimate.com/github/paazmaya/grunt-html2md) | ||
[![Dependency Status](https://img.shields.io/gemnasium/paazmaya/grunt-html2md.svg?style=flat-square)](https://gemnasium.com/paazmaya/grunt-html2md) | ||
[![dependencies Status](https://david-dm.org/paazmaya/grunt-html2md/status.svg)](https://david-dm.org/paazmaya/grunt-html2md) | ||
[![Built with Grunt](http://img.shields.io/badge/Grunt-1.0-blue.svg?style=flat-square)](http://gruntjs.com/) | ||
@@ -19,3 +19,3 @@ [![Analytics](https://ga-beacon.appspot.com/UA-2643697-15/grunt-html2md/index?flat)](https://github.com/igrigorik/ga-beacon) | ||
This plugin requires [Grunt](http://gruntjs.com/) `~1.0` and [Node.js](https://nodejs.org/en/) | ||
version to be minimum of `4.2.0`, which is the Long Term Support (LTS) version, and | ||
version to be minimum of `8.11.1`, which is [the active Long Term Support (LTS) version](https://github.com/nodejs/Release#release-schedule), and | ||
handles the transformation via | ||
@@ -97,8 +97,9 @@ [HTML to Markdown converter](https://github.com/domchristie/to-markdown) `~3.0`. | ||
[Please refer to a GitHub blog post on how to create somewhat perfect pull request.](https://github.com/blog/1943-how-to-write-the-perfect-pull-request "How to write the perfect pull request") | ||
["A Beginner's Guide to Open Source: The Best Advice for Making your First Contribution"](http://www.erikaheidi.com/blog/a-beginners-guide-to-open-source-the-best-advice-for-making-your-first-contribution/). | ||
In lieu of a formal styleguide, take care to maintain the existing coding style. | ||
Add unit tests for any new or changed functionality. | ||
Lint and test your code using [Grunt](http://gruntjs.com/). | ||
[Also there is a blog post about "45 Github Issues Dos and Don’ts"](https://davidwalsh.name/45-github-issues-dos-donts). | ||
Linting is done with [ESLint](http://eslint.org) and can be executed with `npm run lint`. | ||
There should be no errors appearing after any JavaScript file changes. | ||
## Testing | ||
@@ -116,2 +117,5 @@ | ||
* `v2.0.0` (2019-01-22) | ||
- Minimum Node.js version lifted from `4.2.0` to `8.11.1` | ||
- `main` property in `package.json` was pointing to a wrong file | ||
* `v1.2.0` (2016-08-11) | ||
@@ -138,2 +142,1 @@ - Updating dependencies. Have you noticed it is now Grunt.js v1.0.0? | ||
Licensed under the [MIT license](LICENSE). | ||
@@ -8,2 +8,3 @@ /** | ||
*/ | ||
'use strict'; | ||
@@ -19,4 +20,6 @@ | ||
grunt.log.warn('Source file "' + filepath + '" not found.'); | ||
return false; | ||
} | ||
return true; | ||
@@ -23,0 +26,0 @@ }; |
138
8185
4
46
+ Addedto-markdown@3.1.1(transitive)
- Removedto-markdown@3.0.4(transitive)
Updatedto-markdown@~3.1