diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..97055a2 --- /dev/null +++ b/.npmignore @@ -0,0 +1 @@ +Gruntfile.coffee diff --git a/README.md b/README.md index f913fdf..5fec280 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,6 @@ npm install lesshint-lint-xml-reporter Use [lesshint](https://github.com/lesshint/lesshint) with `-r` or `--reporter` option: ```bash -lesshint --reporter lint-xml file.less -lesshint --reporter /path/to/lesshint-lint-xml-reporter/lint-xml .js file.less +lesshint --reporter lesshint-lint-xml-reporter file.less +lesshint --reporter /path/to/lesshint-lint-xml-reporter/reporter.js file.less ``` diff --git a/package.json b/package.json index f5d0255..1bc3c8c 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "lesshint-lint-xml-reporter", "description": "A lesshint reporter compatible with csslint's xml-lint format. Can be used by Jenkins.", - "version": "0.9.0", - "main": "./less-xml.js", + "version": "0.9.1", + "main": "./reporter.js", "homepage": "https://github.com/llaumgui/lesshint-lint-xml-reporter", "author": { "name": "Guillaume Kulakowski", @@ -36,4 +36,4 @@ "bugs": { "url": "https://github.com/llaumgui/lesshint-lint-xml-reporter/issues" } -} \ No newline at end of file +} diff --git a/lint-xml.js b/reporter.js similarity index 96% rename from lint-xml.js rename to reporter.js index c7a3296..6c57d93 100644 --- a/lint-xml.js +++ b/reporter.js @@ -2,7 +2,7 @@ 'use strict'; module.exports = { - name: 'lint-xml', + name: 'lesshint-lint-xml-reporter', report: function report (results) { var resultsByfiles = {}; var output = '';