diff --git a/README.md b/README.md index c3f552f..4b3dbe4 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,6 @@ > Wrap CSS rules in a namespace ## Getting Started -This plugin requires Grunt `~0.4.5` - If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command: ```shell @@ -64,6 +62,7 @@ css_wrap: { 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/). ## Release History + - 1.0.0: First official release for Grunt 1.0.0. - 0.1.3: Fixed wrong dependency for module css-wrap. - 0.1.2: Moved business to separate module [css-wrap](https://github.com/benignware/css-wrap) - 0.1.1: Updated to enable processing of media queries diff --git a/package.json b/package.json index e8b2c34..d4dab73 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "grunt-css-wrap", "description": "Wrap CSS rules in a namespace", - "version": "0.1.3", + "version": "1.0.0", "homepage": "https://github.com/benignware/grunt-css-wrap", "author": { "name": "Rafael Nowrotek", @@ -15,32 +15,26 @@ "bugs": { "url": "https://github.com/benignware/grunt-css-wrap/issues" }, - "licenses": [ - { - "type": "MIT", - "url": "https://github.com/benignware/grunt-css-wrap/blob/master/LICENSE-MIT" - } - ], + "license": "MIT", "engines": { - "node": ">= 0.8.0" + "node": ">= 0.10.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { - "grunt-contrib-jshint": "^0.9.2", - "grunt-contrib-clean": "^0.5.0", - "grunt-contrib-nodeunit": "^0.3.3", - "grunt": "~0.4.5" + "grunt": "^1.0.1", + "grunt-contrib-clean": "^1.0.0", + "grunt-contrib-jshint": "^1.0.0", + "grunt-contrib-nodeunit": "^1.0.0" }, "peerDependencies": { - "grunt": "~0.4.5" + "grunt": ">=0.4.0" }, "keywords": [ "gruntplugin" ], "dependencies": { - "chalk": "~0.4.0", "css-wrap": "~0.1.0" } -} \ No newline at end of file +} diff --git a/tasks/css_wrap.js b/tasks/css_wrap.js index 4f0f6a8..874c2d5 100644 --- a/tasks/css_wrap.js +++ b/tasks/css_wrap.js @@ -15,8 +15,7 @@ 'use strict'; var - css_wrap = require( 'css-wrap' ), - chalk = require( 'chalk' ); + css_wrap = require( 'css-wrap' ); module.exports = function( grunt ) { grunt.registerMultiTask( 'css_wrap', 'Wrap CSS rules in a namespace', function() {