Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
24 changes: 9 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
}
}
}
3 changes: 1 addition & 2 deletions tasks/css_wrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down