UNPKG

anthology

Version:

Module information and stats for any @npmjs user

539 lines 141 kB
{ "_id": "grunt-notify", "_rev": "41-c69ca72fc68e63ca3891af8cf232efc5", "name": "grunt-notify", "description": "Automatic desktop notifications for Grunt errors and warnings using Growl for OS X or Windows, Mountain Lion Notification Center, and Notify-Send.", "dist-tags": { "latest": "0.2.13" }, "versions": { "0.1.0": { "name": "grunt-notify", "description": "The best grunt plugin ever.", "version": "0.1.0", "homepage": "https://github.com/dgreene/grunt-notify", "author": { "name": "Dylan Greene", "email": "dylang@gmail.com" }, "repository": { "type": "git", "url": "git://github.com/dylang/grunt-notify.git" }, "bugs": { "url": "https://github.com/dylang/grunt-notify/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/dylang/grunt-notify/blob/master/LICENSE-MIT" } ], "main": "Gruntfile.js", "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "~0.1.0", "grunt-contrib-clean": "~0.4.0a", "grunt-contrib-nodeunit": "~0.1.0", "grunt": "~0.4.0rc4" }, "keywords": ["gruntplugin"], "readme": "# grunt-notify\n\n> Automatic OSX Native Notifications when Grunt tasks fail.\n\nThis requires `Grunt 0.4`. It also requires `OSX 10.8.2` (Mountain Lion) but it won't cause errors in older OSX versions or other platforms. \n\n## Getting Started\n\n```bash\nnpm install grunt-notify --save-dev\n```\n\nOnce that's done, add this line to your project's Gruntfile:\n\n```js\ngrunt.loadNpmTasks('grunt-notify');\n```\n\n## Automatic behavior\nBy including `grunt.loadNpmTasks('grunt-notify');` in your `Gruntfile.js` you will automatically get notifications when Grunt has warnings or errors!\n\n[![Notify with Nodeunit](https://github.com/dylang/grunt-notify/raw/master/screenshots/nodeunit.png)]\n\n## Configuring the automatic behavior\nThese are the defaults. Any can be changed.\n\n```js\ngrunt.initConfig({\n notify_hooks: {\n options: {\n warnHookEnabled: true,\n errorHookEnabled: true,\n\n warnHookDefaultTitle: 'Grunt Warning',\n warnHookDefaultMessage: 'Warning!', // used if the warning from Grunt is not available\n\n errorHookDefaultTitle: 'Grunt Error',\n errorHookDefaultMessage: 'Error!' // used if the error from Grunt is not available\n }\n }\n});\n\n// Load the task\ngrunt.loadNpmTasks('grunt-notify');\n\n// Always run it anytime you use `grunt` it uses your `notify_hooks` options.\ngrunt.task.run('notify_hooks');\n```\n\n[![JSHint Example](https://github.com/dylang/grunt-notify/raw/master/screenshots/jshint.png)]\n\n## Arbitrary figuring Notification Messages\n\n### notify Muti-task\nLets say you want a notification `watch` detects a change or when uploading to `s3` is complete. That's very easy to do:\n\n```js\ngrunt.initConfig({\n notify: {\n task_name: {\n options: {\n // Task-specific options go here.\n }\n },\n watch: {\n options: {\n title: 'Task Complete', // optional\n message: 'SASS and Uglify finished running', //required\n subtitle: '' // optional, kinda a lot for a message\n }\n },\n helloWorld: {\n options: {\n message: 'Hello world!'\n }\n }\n },\n});\n\ngrunt.loadNpmTasks('grunt-notify');\ngrunt.registerTask('default', 'notify:helloWorld');\n```\n[![Watch example](https://github.com/dylang/grunt-notify/raw/master/screenshots/watch.png)]\n\n### Options\n* `title` (_optional_): Notification title\n* `message` (_required_): Notification message\n* `subtitle` (_optional_): Subtitle, I think it's a bit much.\n\n## Tests\nRun `grunt` to lint and run the tests.\n\n## Terminal Notifier\nTo use the native notification system OSX requires packages to be signed and compiled using their platform and tools. This is not very friendly for Node users so we are using the tiny signed native application [Terminal Notifer](https://github.com/alloy/terminal-notifier) from [Eloy Durán](https://github.com/alloy). We're stuck with the default icon for now, if anybody knows how it would be nice if we could use the Grunt logo or something custom instead.\n\n## Growl, Windows, etc\nWish there was fallback support for Growl and other systems? Post a pull request with updated docs and tests and I'll be happy to update it.\n\n## Doodle or Die\nThis project was created for and is used by [Doodle or Die](http://doodleOrDie.com). \n\n[![Doodle or Die example](https://github.com/dylang/grunt-notify/raw/master/screenshots/deploy.png)](http://doodleOrDie.com)\n\n## Release History\nDec 28 - First version\n", "readmeFilename": "README.md", "_id": "grunt-notify@0.1.0", "dist": { "shasum": "3d6090febe8af07bc40a9c119ad70c1b49702387", "tarball": "http://registry.npmjs.org/grunt-notify/-/grunt-notify-0.1.0.tgz" }, "_npmVersion": "1.1.70", "_npmUser": { "name": "dylang", "email": "dylang@gmail.com" }, "maintainers": [ { "name": "dylang", "email": "dylang@gmail.com" } ], "directories": {} }, "0.1.1": { "name": "grunt-notify", "description": "Automatic OSX Native Notifications when Grunt tasks fail.", "version": "0.1.1", "homepage": "https://github.com/dgreene/grunt-notify", "author": { "name": "Dylan Greene", "email": "dylang@gmail.com" }, "repository": { "type": "git", "url": "git://github.com/dylang/grunt-notify.git" }, "bugs": { "url": "https://github.com/dylang/grunt-notify/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/dylang/grunt-notify/blob/master/LICENSE-MIT" } ], "main": "Gruntfile.js", "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "~0.1.0", "grunt-contrib-clean": "~0.4.0a", "grunt-contrib-nodeunit": "~0.1.0", "grunt": "~0.4.0rc4" }, "keywords": ["gruntplugin"], "readme": "# grunt-notify\n\n> Automatic OSX Native Notifications when Grunt tasks fail.\n\nThis requires `Grunt 0.4`. It also requires `OSX 10.8.2` (Mountain Lion) but it won't cause errors in older OSX versions or other platforms. \n\n## Getting Started\n\n```bash\nnpm install grunt-notify --save-dev\n```\n\nOnce that's done, add this line to your project's Gruntfile:\n\n```js\ngrunt.loadNpmTasks('grunt-notify');\n```\n\n## Automatic behavior\nBy including `grunt.loadNpmTasks('grunt-notify');` in your `Gruntfile.js` you will automatically get notifications when Grunt has warnings or errors!\n\n[![Notify with Nodeunit](https://github.com/dylang/grunt-notify/raw/master/screenshots/nodeunit.png)]\n\n## Configuring the automatic behavior\nThese are the defaults. Any can be changed.\n\n```js\ngrunt.initConfig({\n notify_hooks: {\n options: {\n warnHookEnabled: true,\n errorHookEnabled: true,\n\n warnHookDefaultTitle: 'Grunt Warning',\n warnHookDefaultMessage: 'Warning!', // used if the warning from Grunt is not available\n\n errorHookDefaultTitle: 'Grunt Error',\n errorHookDefaultMessage: 'Error!' // used if the error from Grunt is not available\n }\n }\n});\n\n// Load the task\ngrunt.loadNpmTasks('grunt-notify');\n\n// Always run it anytime you use `grunt` it uses your `notify_hooks` options.\ngrunt.task.run('notify_hooks');\n```\n\n[![JSHint Example](https://github.com/dylang/grunt-notify/raw/master/screenshots/jshint.png)]\n\n## Arbitrary figuring Notification Messages\n\n### notify Muti-task\nLets say you want a notification `watch` detects a change or when uploading to `s3` is complete. That's very easy to do:\n\n```js\ngrunt.initConfig({\n notify: {\n task_name: {\n options: {\n // Task-specific options go here.\n }\n },\n watch: {\n options: {\n title: 'Task Complete', // optional\n message: 'SASS and Uglify finished running', //required\n subtitle: '' // optional, kinda a lot for a message\n }\n },\n helloWorld: {\n options: {\n message: 'Hello world!'\n }\n }\n },\n});\n\ngrunt.loadNpmTasks('grunt-notify');\ngrunt.registerTask('default', 'notify:helloWorld');\n```\n[![Watch example](https://github.com/dylang/grunt-notify/raw/master/screenshots/watch.png)]\n\n### Options\n* `title` (_optional_): Notification title\n* `message` (_required_): Notification message\n* `subtitle` (_optional_): Subtitle, I think it's a bit much.\n\n## Tests\nRun `grunt` to lint and run the tests.\n\n## Terminal Notifier\nTo use the native notification system OSX requires packages to be signed and compiled using their platform and tools. This is not very friendly for Node users so we are using the tiny signed native application [Terminal Notifer](https://github.com/alloy/terminal-notifier) from [Eloy Durán](https://github.com/alloy). We're stuck with the default icon for now, if anybody knows how it would be nice if we could use the Grunt logo or something custom instead.\n\n## Growl, Windows, etc\nWish there was fallback support for Growl and other systems? Post a pull request with updated docs and tests and I'll be happy to update it.\n\n## Doodle or Die\nThis project was created for and is used by [Doodle or Die](http://doodleOrDie.com). \n\n[![Doodle or Die example](https://github.com/dylang/grunt-notify/raw/master/screenshots/deploy.png)](http://doodleOrDie.com)\n\n## Release History\nDec 28 - First version\n", "readmeFilename": "README.md", "_id": "grunt-notify@0.1.1", "dist": { "shasum": "b74d6ac0cb1c74680d9a6e7128113cd51fc1623d", "tarball": "http://registry.npmjs.org/grunt-notify/-/grunt-notify-0.1.1.tgz" }, "_npmVersion": "1.1.70", "_npmUser": { "name": "dylang", "email": "dylang@gmail.com" }, "maintainers": [ { "name": "dylang", "email": "dylang@gmail.com" } ], "directories": {} }, "0.1.2": { "name": "grunt-notify", "description": "Automatic OS X Native Notifications when Grunt tasks fail", "version": "0.1.2", "homepage": "https://github.com/dgreene/grunt-notify", "author": { "name": "Dylan Greene", "email": "dylang@gmail.com" }, "repository": { "type": "git", "url": "git://github.com/dylang/grunt-notify.git" }, "bugs": { "url": "https://github.com/dylang/grunt-notify/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/dylang/grunt-notify/blob/master/LICENSE-MIT" } ], "main": "Gruntfile.js", "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "~0.1.0", "grunt-contrib-clean": "~0.4.0a", "grunt-contrib-nodeunit": "~0.1.0", "grunt": "~0.4.0rc4" }, "keywords": ["gruntplugin", "notification", "notify", "growl", "mountain lion", "osx", "os x"], "readme": "# grunt-notify\n\n> Automatic OSX Native Notifications when Grunt tasks fail.\n\nThis requires `Grunt 0.4`. It also requires `OSX 10.8.2` (Mountain Lion) but it won't cause errors in older OSX versions or other platforms. \n\n## Getting Started\n\n```bash\nnpm install grunt-notify --save-dev\n```\n\nOnce that's done, add this line to your project's Gruntfile:\n\n```js\ngrunt.loadNpmTasks('grunt-notify');\n```\n\n## Automatic behavior\nBy including `grunt.loadNpmTasks('grunt-notify');` in your `Gruntfile.js` you will automatically get notifications when Grunt has warnings or errors!\n\n[![Notify with Nodeunit](https://github.com/dylang/grunt-notify/raw/master/screenshots/nodeunit.png)]\n\n## Configuring the automatic behavior\nThese are the defaults. Any can be changed.\n\n```js\ngrunt.initConfig({\n notify_hooks: {\n options: {\n warnHookEnabled: true,\n errorHookEnabled: true,\n\n warnHookDefaultTitle: 'Grunt Warning',\n warnHookDefaultMessage: 'Warning!', // used if the warning from Grunt is not available\n\n errorHookDefaultTitle: 'Grunt Error',\n errorHookDefaultMessage: 'Error!' // used if the error from Grunt is not available\n }\n }\n});\n\n// Load the task\ngrunt.loadNpmTasks('grunt-notify');\n\n// Always run it anytime you use `grunt` it uses your `notify_hooks` options.\ngrunt.task.run('notify_hooks');\n```\n\n[![JSHint Example](https://github.com/dylang/grunt-notify/raw/master/screenshots/jshint.png)]\n\n## Arbitrary figuring Notification Messages\n\n### notify Muti-task\nLets say you want a notification `watch` detects a change or when uploading to `s3` is complete. That's very easy to do:\n\n```js\ngrunt.initConfig({\n notify: {\n task_name: {\n options: {\n // Task-specific options go here.\n }\n },\n watch: {\n options: {\n title: 'Task Complete', // optional\n message: 'SASS and Uglify finished running', //required\n subtitle: '' // optional, kinda a lot for a message\n }\n },\n helloWorld: {\n options: {\n message: 'Hello world!'\n }\n }\n },\n});\n\ngrunt.loadNpmTasks('grunt-notify');\ngrunt.registerTask('default', 'notify:helloWorld');\n```\n\n[![Watch example](https://github.com/dylang/grunt-notify/raw/master/screenshots/watch.png)]\n\n### Options\n* `title` (_optional_): Notification title\n* `message` (_required_): Notification message\n* `subtitle` (_optional_): Subtitle, I think it's a bit much.\n\n## Tests\nRun `grunt` to lint and run the tests.\n\n## Terminal Notifier\nTo use the native notification system OSX requires packages to be signed and compiled using their platform and tools. This is not very friendly for Node users so we are using the tiny signed native application [Terminal Notifer](https://github.com/alloy/terminal-notifier) from [Eloy Durán](https://github.com/alloy). We're stuck with the default icon for now, if anybody knows how it would be nice if we could use the Grunt logo or something custom instead.\n\n## Growl, Windows, etc\nWish there was fallback support for Growl and other systems? Post a pull request with updated docs and tests and I'll be happy to update it.\n\n## Doodle or Die\nThis project was created for and is used by [Doodle or Die](http://doodleOrDie.com). \n\n[![Doodle or Die example](https://github.com/dylang/grunt-notify/raw/master/screenshots/deploy.png)](http://doodleOrDie.com)\n\n## Release History\nDec 28 - First version\n", "readmeFilename": "README.md", "_id": "grunt-notify@0.1.2", "dist": { "shasum": "e052b34eaa5f7242eb09e8ce08ec54cba74de04e", "tarball": "http://registry.npmjs.org/grunt-notify/-/grunt-notify-0.1.2.tgz" }, "_npmVersion": "1.1.70", "_npmUser": { "name": "dylang", "email": "dylang@gmail.com" }, "maintainers": [ { "name": "dylang", "email": "dylang@gmail.com" } ], "directories": {} }, "0.1.3": { "name": "grunt-notify", "description": "Automatic OS X Native Notifications when Grunt tasks fail", "version": "0.1.3", "homepage": "https://github.com/dgreene/grunt-notify", "author": { "name": "Dylan Greene", "email": "dylang@gmail.com" }, "repository": { "type": "git", "url": "git://github.com/dylang/grunt-notify.git" }, "bugs": { "url": "https://github.com/dylang/grunt-notify/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/dylang/grunt-notify/blob/master/LICENSE-MIT" } ], "main": "Gruntfile.js", "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "~0.1.0", "grunt-contrib-clean": "~0.4.0a", "grunt-contrib-nodeunit": "~0.1.0", "grunt": "~0.4.0rc4" }, "keywords": ["gruntplugin", "notification", "notify", "growl", "mountain lion", "osx", "os x"], "readme": "# grunt-notify\n\n> Automatic OSX Native Notifications when Grunt tasks fail.\n\nThis requires `Grunt 0.4`. It also requires `OSX 10.8.2` (Mountain Lion) but it won't cause errors in older OSX versions or other platforms. \n\n## Getting Started\n\n```bash\nnpm install grunt-notify --save-dev\n```\n\nOnce that's done, add this line to your project's Gruntfile:\n\n```js\ngrunt.loadNpmTasks('grunt-notify');\n```\n\n## Automatic behavior\nBy including `grunt.loadNpmTasks('grunt-notify');` in your `Gruntfile.js` you will automatically get notifications when Grunt has warnings or errors!\n\n```js\ngrunt.initConfig({\n // no special task config is necessary!\n});\n\n// This is all you need\ngrunt.loadNpmTasks('grunt-notify');\n```\n\n[![Notify with Nodeunit](https://github.com/dylang/grunt-notify/raw/master/screenshots/nodeunit.png)](https://github.com/dylang/grunt-notify)\n\n## Configuring the automatic behavior\nIf you want to make changes, such as change the title of the Notification or disable it, you can do so by configuring a `notify_hooks` task. *This is 100% optional*.\nTo make Grunt always run your config changes add `grunt.task.run('notify_hooks');` to your `Gruntfile`.\n\n```js\ngrunt.initConfig({\n notify_hooks: {\n options: {\n //These are the defaults. Including them in this config is optional.\n warnHookEnabled: true,\n errorHookEnabled: true,\n\n warnHookDefaultTitle: 'Grunt Warning',\n warnHookDefaultMessage: 'Warning!', // used if the warning from Grunt is not available\n\n errorHookDefaultTitle: 'Grunt Error',\n errorHookDefaultMessage: 'Error!' // used if the error from Grunt is not available\n }\n }\n});\n\n// Load the task\ngrunt.loadNpmTasks('grunt-notify');\n\n// Always run it anytime you use `grunt` it uses your `notify_hooks` options.\ngrunt.task.run('notify_hooks');\n```\n\n[![JSHint Example](https://github.com/dylang/grunt-notify/raw/master/screenshots/jshint.png)](https://github.com/dylang/grunt-notify)\n\n## Show Notification Messages when you want to\n\n### The notify MutiTask\nShow a message whenever you want!\n\n```js\ngrunt.initConfig({\n notify: {\n task_name: {\n options: {\n // Task-specific options go here.\n }\n },\n watch: {\n options: {\n title: 'Task Complete', // optional\n message: 'SASS and Uglify finished running', //required\n subtitle: '' // optional, kinda a lot for a message\n }\n },\n server: {\n options: {\n message: 'Server is ready!'\n }\n }\n }\n});\n\ngrunt.loadNpmTasks('grunt-notify');\n\n// simplified example\ngrunt.registerTask('server', ['uglify', 'sass', 'server', 'notify:server']);\n```\n\n[![Watch example](https://github.com/dylang/grunt-notify/raw/master/screenshots/watch.png)](https://github.com/dylang/grunt-notify)\n\n\n### Options\n* `title` (_optional_): Notification title\n* `message` (_required_): Notification message\n* `subtitle` (_optional_): Subtitle, I think it's a bit much.\n\n## Tests\nRun `grunt` to lint and run the tests.\n\n## Terminal Notifier\nTo use the native notification system OSX requires packages to be signed and compiled using their platform and tools. This is not very friendly for Node users so we are using the tiny signed native application [Terminal Notifer](https://github.com/alloy/terminal-notifier) from [Eloy Durán](https://github.com/alloy). We're stuck with the default icon for now, if anybody knows how it would be nice if we could use the Grunt logo or something custom instead.\n\n## Growl, Windows, etc\nWish there was fallback support for Growl and other systems? Post a pull request with updated docs and tests and I'll be happy to update it.\n\n## Doodle or Die\nThis project was created for and is used by [Doodle or Die](http://doodleOrDie.com). \n\n[![Doodle or Die example](https://github.com/dylang/grunt-notify/raw/master/screenshots/deploy.png)](http://doodleOrDie.com)\n\n## Release History\nDec 28 - First version\n", "readmeFilename": "README.md", "_id": "grunt-notify@0.1.3", "dist": { "shasum": "4ef992734270916d2449eaa79ff237f78e4f9931", "tarball": "http://registry.npmjs.org/grunt-notify/-/grunt-notify-0.1.3.tgz" }, "_npmVersion": "1.1.70", "_npmUser": { "name": "dylang", "email": "dylang@gmail.com" }, "maintainers": [ { "name": "dylang", "email": "dylang@gmail.com" } ], "directories": {} }, "0.1.4": { "name": "grunt-notify", "description": "Automatic native notifications in OSX and Linux when tasks fail.", "version": "0.1.4", "homepage": "https://github.com/dgreene/grunt-notify", "author": { "name": "Dylan Greene", "email": "dylang@gmail.com" }, "repository": { "type": "git", "url": "git://github.com/dylang/grunt-notify.git" }, "bugs": { "url": "https://github.com/dylang/grunt-notify/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/dylang/grunt-notify/blob/master/LICENSE-MIT" } ], "main": "Gruntfile.js", "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "~0.1.1", "grunt-contrib-clean": "~0.4.0", "grunt-contrib-nodeunit": "~0.1.2", "grunt": "~0.4.0" }, "peerDependencies": { "grunt": "~0.4.0" }, "keywords": ["gruntplugin", "notification", "notify", "growl", "mountain lion", "osx", "os x", "linux", "notify-send"], "dependencies": { "stack-parser": "0.0.1" }, "readme": "# grunt-notify\n\n> Automatic native notifications in OSX and Linux when tasks fail.\n\n\n## Getting Started\nThis plugin requires Grunt `0.4`\n\nIt also requires `OS X 10.8.2` (Mountain Lion) or Linux using `notify-send` but it won't cause errors in older OS X versions or other platforms.\n\n## Installing\n\n```bash\nnpm install grunt-notify --save-dev\n```\n\nOnce that's done, add this line to your project's `Gruntfile.js`:\n\n```js\n// Automatic notifications when tasks fail.\ngrunt.loadNpmTasks('grunt-notify');\n```\n\n**That's all you need for automatic notifications.**\n\n[![Notify with Nodeunit](https://github.com/dylang/grunt-notify/raw/master/screenshots/nodeunit.png)](https://github.com/dylang/grunt-notify)\n\n## Notify_Hooks Options\n\nIf you want change the automatic messaging configure a task called `notify_hooks`.\n\n```js\ngrunt.initConfig({\n notify_hooks: {\n options: {\n //These are the defaults. Including them in this config is optional.\n enabled: true,\n title: process.cwd() // defaults to your project's directory name, you can change to the name of your project\n }\n }\n});\n\n// Load the task\ngrunt.loadNpmTasks('grunt-notify');\n\n// This will load your configuration changes.\ngrunt.task.run('notify_hooks');\n```\n\n[![JSHint Example](https://github.com/dylang/grunt-notify/raw/master/screenshots/jshint.png)](https://github.com/dylang/grunt-notify)\n\n## Showing Specfic Notifications\n\nSometimes you want to show messages like \"Uglify complete\" or \"Project Deployed\" - that's easy to do too.\n\n\n```js\ngrunt.initConfig({\n notify: {\n task_name: {\n options: {\n // Task-specific options go here.\n }\n },\n watch: {\n options: {\n title: 'Task Complete', // optional\n message: 'SASS and Uglify finished running', //required\n }\n },\n server: {\n options: {\n message: 'Server is ready!'\n }\n }\n }\n});\n\ngrunt.loadNpmTasks('grunt-notify');\n\n// simplified example\ngrunt.registerTask('server', ['uglify', 'sass', 'server', 'notify:server']);\n```\n\n[![Watch example](https://github.com/dylang/grunt-notify/raw/master/screenshots/watch.png)](https://github.com/dylang/grunt-notify)\n\n\n### Options\n* `title` (_optional_): Notification title\n* `message` (_required_): Notification message\n* `subtitle` (_optional_): Subtitle, I think it's a bit much.\n\n## Tests\nRun `grunt` to lint and run the tests.\n\n## Terminal Notifier\nTo use the native notification system OSX requires packages to be signed and compiled using their platform and tools.\nThis is not very friendly for Node users so we are using the tiny signed native application\n[Terminal Notifer](https://github.com/alloy/terminal-notifier) from [Eloy Durán](https://github.com/alloy).\nWe're stuck with the default icon for now, if anybody knows how it would be nice if we could use the Grunt logo or something custom instead.\n\n## Growl, Windows, etc\nWish there was fallback support for Growl and other systems? Post a pull request with updated docs and tests and I'll be happy to update it.\n\n## Doodle or Die\nThis project was created for and is used by the free game I co-created for Node Knockout called [Doodle or Die](http://doodleOrDie.com).\n\n[![Doodle or Die example](https://github.com/dylang/grunt-notify/raw/master/screenshots/deploy.png)](http://doodleOrDie.com)\n\n## Release History\nFeb 19 - Added Linux support thanks to @johnmccalla, listen for fatal errors, simplified options.\nDec 28 - First version.\n\n", "readmeFilename": "README.md", "_id": "grunt-notify@0.1.4", "dist": { "shasum": "409cba130c2ca57134301860fa666bfb923b26c4", "tarball": "http://registry.npmjs.org/grunt-notify/-/grunt-notify-0.1.4.tgz" }, "_from": ".", "_npmVersion": "1.2.11", "_npmUser": { "name": "dylang", "email": "dylang@gmail.com" }, "maintainers": [ { "name": "dylang", "email": "dylang@gmail.com" } ], "directories": {} }, "0.2.0": { "name": "grunt-notify", "description": "Automatic desktop notifications for Grunt errors and warnings using Growl for OS X or Windows, Mountain Lion Notification Center, and Notify-Send.", "version": "0.2.0", "homepage": "https://github.com/dgreene/grunt-notify", "author": { "name": "Dylan Greene", "email": "dylang@gmail.com" }, "repository": { "type": "git", "url": "git://github.com/dylang/grunt-notify.git" }, "bugs": { "url": "https://github.com/dylang/grunt-notify/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/dylang/grunt-notify/blob/master/LICENSE-MIT" } ], "main": "Gruntfile.js", "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "~0.3.0", "grunt-contrib-clean": "~0.4.0", "grunt-contrib-nodeunit": "~0.1.2", "grunt": "~0.4.1", "stack-parser": "~0.0.1", "which": "~1.0.5", "semver": "~1.1.4", "growl": "~1.7.0" }, "peerDependencies": { "grunt": "~0.4.1" }, "keywords": ["gruntplugin", "notification", "notify", "growl", "mountain lion", "linux", "notify-send", "error", "warning", "automatic"], "dependencies": {}, "readme": "# grunt-notify\n\n> Automatic desktop notifications for Grunt errors and warnings using Growl for OS X or Windows, Mountain Lion Notification Center, and Notify-Send.\n\n[![JSHint Example](screenshots/growl-jshint.png)](https://github.com/dylang/grunt-notify)\n[![JSHint Example](screenshots/notification-center-jshint.png)](https://github.com/dylang/grunt-notify)\n[![JSHint Example](screenshots/notification-center-sidebar-jshint.png)](https://github.com/dylang/grunt-notify)\n\n\n## Getting Started\n\nThis plugin recommends Grunt `0.4.1` or newer.\n\n## Installing\n\n```bash\nnpm install grunt-notify --save-dev\n```\n\nOnce that's done, add this line to your project's `Gruntfile.js`:\n\n```js\n// Automatic notifications when tasks fail.\ngrunt.loadNpmTasks('grunt-notify');\n```\n\n**That's all you need for automatic notifications.**\n\n[![Notify with Nodeunit](screenshots/growl-nodeunit.png)](https://github.com/dylang/grunt-notify)\n\n## Notify_Hooks Options\n\nIf you want change the automatic messaging configure a task called `notify_hooks`.\n\n```js\ngrunt.initConfig({\n // This is completely optional.\n notify_hooks: {\n options: {\n enabled: true,\n title: \"Project Name\" // defaults to your project's directory name, you can change to the name of your project\n }\n }\n});\n\n// Load the task\ngrunt.loadNpmTasks('grunt-notify');\n\n// This is required if you use any options.\ngrunt.task.run('notify_hooks');\n```\n\n\n## Showing Specfic Notifications\n\nSometimes you want to show messages like \"Uglify complete\" or \"Project Deployed\" - that's easy to do too.\n\n\n```js\ngrunt.initConfig({\n notify: {\n task_name: {\n options: {\n // Task-specific options go here.\n }\n },\n watch: {\n options: {\n title: 'Task Complete', // optional\n message: 'SASS and Uglify finished running', //required\n }\n },\n server: {\n options: {\n message: 'Server is ready!'\n }\n }\n }\n});\n\ngrunt.loadNpmTasks('grunt-notify');\n\n// simplified example\ngrunt.registerTask('server', ['uglify', 'sass', 'server', 'notify:server']);\n```\n\n[![Watch example](screenshots/growl-deploy.png)](https://github.com/dylang/grunt-notify)\n[![Watch example](screenshots/notification-center-deploy.png)](https://github.com/dylang/grunt-notify)\n\n\n### Options\n* `title` (_optional_): Notification title\n* `message` (_required_): Notification message\n\n## Tests\nRun `grunt` to lint and run the tests.\n\n## Terminal Notifier\nTo use the native notification system OSX requires packages to be signed and compiled using their platform and tools.\nThis is not very friendly for Node users so we are using the tiny signed native application\n[Terminal Notifer](https://github.com/alloy/terminal-notifier) from [Eloy Durán](https://github.com/alloy).\nWe're stuck with the default icon for now, if anybody knows how it would be nice if we could use the Grunt logo or something custom instead.\n\n## Doodle or Die\nThis project was created for and is used by the free game I co-created for Node Knockout called [Doodle or Die](http://doodleOrDie.com). Please give it a try, we think you will enjoy it!\n\n\n## Release History\n\n* 31 Mar 2013 - 0.2.0\n * Complete rewrite.\n * New support for Grunt in Windows.\n * Now parses JSLint errors to show them in notification.\n * Notification title will automatically use package.json name field or directory name.\n * No more subtitle option.\n * Title now includes the task that was running.\n * Better command line escaping including support for newline (\\n).\n* 17 Mar 2013 - 0.1.6\n * Code refactor to clean things up\n* 19 Feb 2013 - 0.1.4\n * Added Linux support thanks to @johnmccalla\n * listen for fatal errors\n * simplified options\n * default title is project title\n * show file name and line number if available\n* 28 Dec 2013 - 0.1.0-0.1.3\n * First version\n\n", "readmeFilename": "README.md", "_id": "grunt-notify@0.2.0", "dist": { "shasum": "a8c82a2e9c7651333bc24ff4d47a4f167a2513a4", "tarball": "http://registry.npmjs.org/grunt-notify/-/grunt-notify-0.2.0.tgz" }, "_from": ".", "_npmVersion": "1.2.16", "_npmUser": { "name": "dylang", "email": "dylang@gmail.com" }, "maintainers": [ { "name": "dylang", "email": "dylang@gmail.com" } ], "directories": {} }, "0.2.1": { "name": "grunt-notify", "description": "Automatic desktop notifications for Grunt errors and warnings using Growl for OS X or Windows, Mountain Lion Notification Center, and Notify-Send.", "version": "0.2.1", "homepage": "https://github.com/dgreene/grunt-notify", "author": { "name": "Dylan Greene", "email": "dylang@gmail.com" }, "repository": { "type": "git", "url": "git://github.com/dylang/grunt-notify.git" }, "bugs": { "url": "https://github.com/dylang/grunt-notify/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/dylang/grunt-notify/blob/master/LICENSE-MIT" } ], "main": "Gruntfile.js", "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "~0.3.0", "grunt-contrib-clean": "~0.4.0", "grunt-contrib-nodeunit": "~0.1.2", "grunt": "~0.4.1" }, "peerDependencies": { "grunt": "~0.4.1" }, "keywords": ["gruntplugin", "notification", "notify", "growl", "mountain lion", "linux", "notify-send", "error", "warning", "automatic"], "dependencies": { "stack-parser": "~0.0.1", "which": "~1.0.5", "semver": "~1.1.4", "growl": "~1.7.0" }, "readme": "# grunt-notify\n\n> Automatic desktop notifications for Grunt errors and warnings using Growl for OS X or Windows, Mountain Lion Notification Center, and Notify-Send.\n\n[![Growl: JSHint](screenshots/growl-jshint.png)](https://github.com/dylang/grunt-notify)\n[![Notification Center: JSHint](screenshots/notification-center-jshint.png)](https://github.com/dylang/grunt-notify)\n[![Growl: Nodeunit](screenshots/growl-nodeunit.png)](https://github.com/dylang/grunt-notify)\n\n## Getting Started\n\nThis plugin recommends Grunt `0.4.1` or newer.\n\n## Installing\n\n```bash\nnpm install grunt-notify --save-dev\n```\n\nOnce that's done, add this line to your project's `Gruntfile.js`:\n\n```js\n// Automatic notifications when tasks fail.\ngrunt.loadNpmTasks('grunt-notify');\n```\n\n**That's all you need for automatic notifications.**\n\n[![Notification Center: JSHint](screenshots/notification-center-sidebar-jshint.png)](https://github.com/dylang/grunt-notify)\n[![Grow: JSHint](screenshots/growl-jshint-lots.png)](https://github.com/dylang/grunt-notify)\n\n\n## Notify_Hooks Options\n\nIf you want change the automatic messaging configure a task called `notify_hooks`.\n\n```js\ngrunt.initConfig({\n // This is optional!\n notify_hooks: {\n options: {\n enabled: true,\n title: \"Project Name\" // defaults to your project's directory name, you can change to the name of your project\n }\n }\n});\n\n// Load the task\ngrunt.loadNpmTasks('grunt-notify');\n\n// This is required if you use any options.\ngrunt.task.run('notify_hooks');\n```\n\n## Showing Specfic Notifications\n\nSometimes you want to show messages like \"Uglify complete\" or \"Project Deployed\" - that's easy to do too.\n\n[![Growl: Custom Text](screenshots/growl-deploy.png)](https://github.com/dylang/grunt-notify)\n[![Notification Center: Custom Text](screenshots/notification-center-deploy.png)](https://github.com/dylang/grunt-notify)\n\n```js\ngrunt.initConfig({\n notify: {\n task_name: {\n options: {\n // Task-specific options go here.\n }\n },\n watch: {\n options: {\n title: 'Task Complete', // optional\n message: 'SASS and Uglify finished running', //required\n }\n },\n server: {\n options: {\n message: 'Server is ready!'\n }\n }\n }\n});\n\ngrunt.loadNpmTasks('grunt-notify');\n\n// simplified example\ngrunt.registerTask('server', [\n 'uglify',\n 'sass',\n 'server',\n 'notify:server'\n ]);\n```\n\n### Options\n* `title` (_optional_): Notification title\n* `message` (_required_): Notification message\n\n## Tests\nRun `grunt` to lint and run the tests.\n\n## Terminal Notifier\nApple does not provide an API to the OS X Notification Center that Node can access. Only code written in Objective C and signed in XCode can use it.\nThis is not very friendly for Node users so we are using the tiny signed MIT-licensed native application\n[Terminal Notifer](https://github.com/alloy/terminal-notifier) from [Eloy Durán](https://github.com/alloy).\nI've changed the default icon which is owned by Apple to the Grunt logo.\n\n## Doodle or Die\nThis project was created for and is used by the free game I co-created for Node Knockout called [Doodle or Die](http://doodleOrDie.com). Please give it a try, we think you will enjoy it!\n\n## Release History\n\n* 1 Apr 2013 - 0.2.1\n * Fix dependencies.\n* 31 Mar 2013 - 0.2.0\n * Complete rewrite.\n * New support for Grunt in Windows.\n * Now parses JSLint errors to show them in notification.\n * Notification title will automatically use package.json name field or directory name.\n * No more subtitle option.\n * Title now includes the task that was running.\n * Better command line escaping including support for newline (\\n).\n* 17 Mar 2013 - 0.1.6\n * Code refactor to clean things up\n* 19 Feb 2013 - 0.1.4\n * Added Linux support thanks to @johnmccalla\n * listen for fatal errors\n * simplified options\n * default title is project title\n * show file name and line number if available\n* 28 Dec 2013 - 0.1.0-0.1.3\n * First version", "readmeFilename": "README.md", "_id": "grunt-notify@0.2.1", "dist": { "shasum": "d633ceefe2459fd1309f49b246c8339fd1e90b37", "tarball": "http://registry.npmjs.org/grunt-notify/-/grunt-notify-0.2.1.tgz" }, "_from": ".", "_npmVersion": "1.2.16", "_npmUser": { "name": "dylang", "email": "dylang@gmail.com" }, "maintainers": [ { "name": "dylang", "email": "dylang@gmail.com" } ], "directories": {} }, "0.2.2": { "name": "grunt-notify", "description": "Automatic desktop notifications for Grunt errors and warnings using Growl for OS X or Windows, Mountain Lion Notification Center, and Notify-Send.", "version": "0.2.2", "homepage": "https://github.com/dgreene/grunt-notify", "author": { "name": "Dylan Greene", "email": "dylang@gmail.com" }, "repository": { "type": "git", "url": "git://github.com/dylang/grunt-notify.git" }, "bugs": { "url": "https://github.com/dylang/grunt-notify/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/dylang/grunt-notify/blob/master/LICENSE-MIT" } ], "main": "Gruntfile.js", "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "~0.3.0", "grunt-contrib-clean": "~0.4.0", "grunt-contrib-nodeunit": "~0.1.2", "grunt": "~0.4.1" }, "peerDependencies": { "grunt": "~0.4.1" }, "keywords": ["gruntplugin", "notification", "notify", "growl", "mountain lion", "linux", "notify-send", "error", "warning", "automatic"], "dependencies": { "stack-parser": "~0.0.1", "which": "~1.0.5", "semver": "~1.1.4", "growl": "~1.7.0" }, "readme": "# grunt-notify\n\n> Automatic desktop notifications for Grunt errors and warnings using Growl for OS X or Windows, Mountain Lion Notification Center, and Notify-Send.\n\n[![Growl: JSHint](screenshots/growl-jshint.png)](https://github.com/dylang/grunt-notify)\n[![Notification Center: JSHint](screenshots/notification-center-jshint.png)](https://github.com/dylang/grunt-notify)\n[![Growl: Nodeunit](screenshots/growl-nodeunit.png)](https://github.com/dylang/grunt-notify)\n\n## Getting Started\n\nThis plugin recommends Grunt `0.4.1` or newer.\n\n## Installing\n\n```bash\nnpm install grunt-notify --save-dev\n```\n\nOnce that's done, add this line to your project's `Gruntfile.js`:\n\n```js\n// Automatic notifications when tasks fail.\ngrunt.loadNpmTasks('grunt-notify');\n```\n\n**That's all you need for automatic notifications.**\n\n[![Notification Center: JSHint](screenshots/notification-center-sidebar-jshint.png)](https://github.com/dylang/grunt-notify)\n[![Grow: JSHint](screenshots/growl-jshint-lots.png)](https://github.com/dylang/grunt-notify)\n\n\n## Notify_Hooks Options\n\nIf you want change the automatic messaging configure a task called `notify_hooks`.\n\n```js\ngrunt.initConfig({\n // This is optional!\n notify_hooks: {\n options: {\n enabled: true,\n title: \"Project Name\" // defaults to your project's directory name, you can change to the name of your project\n }\n }\n});\n\n// Load the task\ngrunt.loadNpmTasks('grunt-notify');\n\n// This is required if you use any options.\ngrunt.task.run('notify_hooks');\n```\n\n## Showing Specfic Notifications\n\nSometimes you want to show messages like \"Uglify complete\" or \"Project Deployed\" - that's easy to do too.\n\n[![Growl: Custom Text](screenshots/growl-deploy.png)](https://github.com/dylang/grunt-notify)\n[![Notification Center: Custom Text](screenshots/notification-center-deploy.png)](https://github.com/dylang/grunt-notify)\n\n```js\ngrunt.initConfig({\n notify: {\n task_name: {\n options: {\n // Task-specific options go here.\n }\n },\n watch: {\n options: {\n title: 'Task Complete', // optional\n message: 'SASS and Uglify finished running', //required\n }\n },\n server: {\n options: {\n message: 'Server is ready!'\n }\n }\n }\n});\n\ngrunt.loadNpmTasks('grunt-notify');\n\n// simplified example\ngrunt.registerTask('server', [\n 'uglify',\n 'sass',\n 'server',\n 'notify:server'\n ]);\n```\n\n### Options\n* `title` (_optional_): Notification title\n* `message` (_required_): Notification message\n\n## Tests\nRun `grunt` to lint and run the tests.\n\n## Terminal Notifier\nApple does not provide an API to the OS X Notification Center that Node can access. Only code written in Objective C and signed in XCode can use it.\nThis is not very friendly for Node users so we are using the tiny signed MIT-licensed native application\n[Terminal Notifer](https://github.com/alloy/terminal-notifier) from [Eloy Durán](https://github.com/alloy).\nI've changed the default icon which is owned by Apple to the Grunt logo.\n\n## Doodle or Die\nThis project was created for and is used by the free game I co-created for Node Knockout called [Doodle or Die](http://doodleOrDie.com). Please give it a try, we think you will enjoy it!\n\n## Release History\n\n* 1 Apr 2013 - 0.2.2\n * Fix bug in Notify-Send thanks to @jcoffin.\n* 1 Apr 2013 - 0.2.1\n * Fix dependencies.\n* 31 Mar 2013 - 0.2.0\n * Complete rewrite.\n * New support for Grunt in Windows.\n * Now parses JSLint errors to show them in notification.\n * Notification title will automatically use package.json name field or directory name.\n * No more subtitle option.\n * Title now includes the task that was running.\n * Better command line escaping including support for newline (\\n).\n* 17 Mar 2013 - 0.1.6\n * Code refactor to clean things up\n* 19 Feb 2013 - 0.1.4\n * Added Linux support thanks to @johnmccalla.\n * Listen for fatal errors.\n * Simplified options.\n * Default title is project title.\n * Show file name and line number if available.\n* 28 Dec 2013 - 0.1.0-0.1.3\n * First version", "readmeFilename": "README.md", "_id": "grunt-notify@0.2.2", "dist": { "shasum": "7dda62c5e50d86c849d50a6a59aaf82e3c89c33d", "tarball": "http://registry.npmjs.org/grunt-notify/-/grunt-notify-0.2.2.tgz" }, "_from": ".", "_npmVersion": "1.2.16", "_npmUser": { "name": "dylang", "email": "dylang@gmail.com" }, "maintainers": [ { "name": "dylang", "email": "dylang@gmail.com" } ], "directories": {} }, "0.2.3": { "name": "grunt-notify", "description": "Automatic desktop notifications for Grunt errors and warnings using Growl for OS X or Windows, Mountain Lion Notification Center, and Notify-Send.", "version": "0.2.3", "homepage": "https://github.com/dgreene/grunt-notify", "author": { "name": "Dylan Greene", "email": "dylang@gmail.com" }, "repository": { "type": "git", "url": "git://github.com/dylang/grunt-notify.git" }, "bugs": { "url": "https://github.com/dylang/grunt-notify/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/dylang/grunt-notify/blob/master/LICENSE-MIT" } ], "main": "Gruntfile.js", "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "~0.3.0", "grunt-contrib-clean": "~0.4.0", "grunt-contrib-nodeunit": "~0.1.2", "grunt": "~0.4.1" }, "peerDependencies": { "grunt": "~0.4.1" }, "keywords": ["gruntplugin", "notification", "notify", "growl", "mountain lion", "linux", "notify-send", "error", "warning", "automatic"], "dependencies": { "stack-parser": "~0.0.1", "which": "~1.0.5", "semver": "~1.1.4", "growl": "~1.7.0" }, "readme": "# grunt-notify\n\n> Automatic desktop notifications for Grunt errors and warnings using Growl for OS