grunt-blink1
Advanced tools
Comparing version
{ | ||
"name": "grunt-blink1", | ||
"description": "Configures blink(1) inside your Gruntfile.", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"homepage": "https://github.com/shiwano/grunt-blink1", | ||
@@ -24,4 +24,3 @@ "author": { | ||
], | ||
"main": "grunt.js", | ||
"bin": "bin/grunt-blink1", | ||
"main": "Gruntfile.js", | ||
"engines": { | ||
@@ -34,4 +33,9 @@ "node": ">= 0.8.0" | ||
"devDependencies": { | ||
"grunt": "~0.3.17" | ||
"grunt": "~0.4.0", | ||
"grunt-contrib-jshint": "~0.4.3", | ||
"grunt-contrib-nodeunit": "~0.1.2" | ||
}, | ||
"peerDependencies": { | ||
"grunt": "~0.4.0" | ||
}, | ||
"keywords": [ | ||
@@ -41,3 +45,3 @@ "gruntplugin" | ||
"dependencies": { | ||
"node-blink1": "0.0.2", | ||
"node-blink1": "~0.0.3", | ||
"color": "~0.4.1", | ||
@@ -44,0 +48,0 @@ "async": "~0.1.22" |
@@ -29,3 +29,3 @@ # grunt-blink1 | ||
### Overview | ||
In your project's Gruntfile, add a section named `yaml` to the data object passed into `grunt.initConfig()`. | ||
In your project's Gruntfile, add a section named `blink1` to the data object passed into `grunt.initConfig()`. | ||
@@ -36,7 +36,7 @@ ```js | ||
your_target: { | ||
colors: ['red', 'black', 'green'] | ||
colors: ['red', '#000', 'rgb(0, 255, 0)'], | ||
turnOff: true, | ||
fadeMillis: 200 | ||
}, | ||
}, | ||
} | ||
} | ||
}) | ||
@@ -51,3 +51,3 @@ ``` | ||
Colors that is given to blink(1) for blink. [CSS color string](http://www.w3.org/TR/CSS21/syndata.html#color-units) is available. | ||
A value that is given to blink(1) for blink. [CSS color string](http://www.w3.org/TR/CSS21/syndata.html#color-units) is available. | ||
@@ -72,2 +72,18 @@ #### turnOff | ||
## Examples | ||
```js | ||
grunt.initConfig({ | ||
blink1: { | ||
green: { | ||
colors: 'green' | ||
}, | ||
red: { | ||
colors: 'red' | ||
} | ||
} | ||
}); | ||
grunt.registerTask('test', ['blink1:red', 'simplemocha', 'blink1:green']); | ||
``` | ||
## Contributing | ||
@@ -77,2 +93,3 @@ 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][]. | ||
## Release History | ||
* 2013-04-14 v0.1.1 Support Node v0.10.x and Grunt v0.4.x. | ||
* 2012-12-29 v0.1.0 First release. | ||
@@ -79,0 +96,0 @@ |
7754
5.9%95
21.79%4
33.33%3
200%7
-12.5%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
Updated