{ "name": "grunt-path-check", "homepage": "http://github.com/rse/grunt-path-check", "description": "Grunt Task for Checking Existence of Programs on PATH", "version": "0.9.3", "license": "MIT", "author": { "name": "Ralf S. Engelschall", "email": "rse@engelschall.com", "url": "http://engelschall.com" }, "keywords": [ "gruntplugin", "path", "check", "executable", "program", "binary" ], "repository": { "type": "git", "url": "git://github.com/rse/grunt-path-check.git" }, "bugs": { "url": "http://github.com/rse/grunt-path-check/issues" }, "main": "Gruntfile.js", "devDependencies": { "grunt": "~0.4.1", "grunt-cli": "~0.1.10", "grunt-contrib-jshint": "~0.7.1", "grunt-contrib-clean": "~0.5.0", "chalk": "^0.3.0" }, "peerDependencies": { "grunt": "~0.4.1" }, "dependencies": { "chalk": "~0.3.0" }, "engines": { "node": ">=0.10.0" }, "readme": "\n# grunt-path-check\n\nGrunt Task for Checking Existence of Programs on PATH.\nIn case a program is not found a warning is issues and\nGrunt by default stop processing until option `--force` is used.\n\n

\n\"\"/\n\n

\n\"\"/\n\n\n## Getting Started\n\nThis plugin requires Grunt `~0.4.0`\n\nIf you haven't used [Grunt](http://gruntjs.com/)\nbefore, be sure to check out the [Getting\nStarted](http://gruntjs.com/getting-started) guide, as it explains how\nto create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as\ninstall and use Grunt plugins. Once you're familiar with that process,\nyou may install this plugin with this command:\n\n```shell\nnpm install grunt-path-check --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your\nGruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks(\"grunt-path-check\");\n```\n\n## Task Options\n\n- `tasks`: (default `[]`) the names of Grunt tasks to run if\n the patch check for the `src` programs are successful.\n\n- `mandatory`: (default `true`) whether the\n patch check for the `src` programs are mandatory, i.e., if they are\n not successful, stop processing. Set this to `false` in combination\n with the `tasks` option to execute a task if a program exists or skip\n a task if a program does not exist.\n\n## Task Usage\n\n_Run this task with the `grunt path-check` command._\n\nTask targets, files and options may be specified according to the Grunt\n[Configuring tasks](http://gruntjs.com/configuring-tasks) guide.\n\n## Usage Example\n\n```js\n// [...]\ngrunt.loadNpmTasks(\"grunt-shell\");\ngrunt.loadNpmTasks(\"grunt-path-check\");\ngrunt.initConfig({\n \"shell\": {\n \"generate-txt\": {\n command: \"w3m -dump doc.html >doc.txt\"\n }\n },\n \"path-check\": {\n \"generate-txt\": {\n src: [ \"w3m\" ],\n options: {\n mandatory: false,\n tasks: [ \"shell:generate-txt\" ]\n }\n }\n }\n});\ngrunt.registerTask(\"default\", [ \"path-check:generate-txt\" ]);\n// [...]\n```\n\n", "readmeFilename": "README.md", "_id": "grunt-path-check@0.9.3", "dist": { "shasum": "a9ca77e1f008a403dd770dfa0dd596375a782347" }, "_from": "grunt-path-check@", "_resolved": "https://registry.npmjs.org/grunt-path-check/-/grunt-path-check-0.9.3.tgz" }