{ "name": "grunt-open", "description": "Open urls and files from a grunt task", "version": "0.2.0", "homepage": "https://github.com/onehealth/grunt-open", "author": { "name": "Jarrod Overson", "email": "jsoverson@gmail.com", "url": "http://jarrodoverson.com/" }, "repository": { "type": "git", "url": "git://github.com/onehealth/grunt-open.git" }, "bugs": { "url": "https://github.com/onehealth/grunt-open/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/onehealth/grunt-open/blob/master/LICENSE" } ], "main": "Gruntfile.js", "bin": { "grunt-open": "bin/grunt-open" }, "engines": { "node": ">= 0.6.0" }, "scripts": { "test": "grunt test" }, "dependencies": { "open": "0.0.2" }, "devDependencies": { "grunt": "~0.4.0", "grunt-contrib-jshint": "~0.1.1" }, "keywords": [ "gruntplugin", "open", "url", "file" ], "readme": "# grunt-open\n\nOpen urls and files from a grunt task\n\n## Installation\n\nInstall alongside your Gruntfile\n\n```bash\n$ npm install --save grunt-open\n```\n\n## Usage\n\nThis is immediately useful as part of your task chain between `server` and `watch`\n\n```js\ngrunt.registerTask('default', 'server open watch');\n```\n\nYou can specify different configurations so that you can set up task chains like\n\n```js\ngrunt.registerTask('dev', 'server open:dev watch');\ngrunt.registerTask('dev', 'build server open:build watch:build');\n```\n\n## Getting Started\nInstall this grunt plugin next to your project's [Gruntfile][getting_started] with: `npm install grunt-open`\n\n## Configuration\n\nThis is a very simple task and takes only one configuration parameter, `path`.\n\n```js\ngrunt.initConfig({\n open : {\n dev : {\n path: 'http://127.0.0.1:8888/src'\n },\n google : {\n path : 'http://google.com/'\n },\n file : {\n path : '/etc/hosts'\n }\n }\n})\n\ngrunt.loadNpmTasks('grunt-open');\n\n```\n\n[grunt]: https://github.com/gruntjs/grunt\n[getting_started]: https://github.com/cowboy/grunt/blob/master/docs/getting_started.md\n\n## Contributing\nIn 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][grunt].\n\n## Release History\n\n - 0.2.0 grunt 0.4.0 support, added and preferring `path` parameter.\n - 0.1.0 initial release\n\n## License\n\nCopyright OneHealth Solutions, Inc\n\nWritten by Jarrod Overson\n\nLicensed under the Apache 2.0 license.\n", "readmeFilename": "README.md", "_id": "grunt-open@0.2.0", "dist": { "shasum": "37f0ce5717f3125746d8b1b1e6041a33a592c4f3" }, "_from": "grunt-open@", "_resolved": "https://registry.npmjs.org/grunt-open/-/grunt-open-0.2.0.tgz" }