{
  "name": "grunt-chown",
  "description": "A Grunt plugin that allows you to change the owner of a file.",
  "version": "0.1.3",
  "homepage": "https://github.com/etsisk/grunt-chown",
  "author": {
    "name": "<NAME>",
    "email": "<EMAIL>"
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/etsisk/grunt-chown.git"
  },
  "bugs": {
    "url": "https://github.com/etsisk/grunt-chown/issues"
  },
  "licenses": [
    {
      "type": "MIT",
      "url": "https://github.com/etsisk/grunt-chown/blob/master/LICENSE-MIT"
    }
  ],
  "main": "Gruntfile.js",
  "engines": {
    "node": ">= 0.8.0"
  },
  "scripts": {
    "test": "grunt test"
  },
  "devDependencies": {
    "grunt-contrib-jshint": "~0.6.0",
    "grunt-contrib-clean": "~0.4.0",
    "grunt-contrib-nodeunit": "~0.2.0",
    "grunt": "~0.4.2"
  },
  "peerDependencies": {
    "grunt": "~0.4.2"
  },
  "keywords": [
    "gruntplugin"
  ],
  "readme": "# grunt-chown\n\n> A Grunt plugin that allows you to change the owner of a file.\n\n## Getting Started\nThis plugin requires Grunt `~0.4.2`\n\nIf 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:\n\n```shell\nnpm install grunt-chown --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-chown');\n```\n\n## The \"chown\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `chown` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  chown: {\n    options: {\n      uid: 0,\n      gid: 0\n    },\n    target: {\n      src: ['path/to/file']\n    },\n  },\n});\n```\n\n### Options\n\n#### options.uid\nType: `Number`\nDefault value: 32767\n\nA number value that is used to set the user id.\n\n#### options.gid\nType: `Number`\nDefault value: 32767\n\nA number value that is used to set the group id.\n\n### Usage Examples\n\n#### Basic options\n\nSet `uid` and `gid` values for all of your targets.\n\n```js\ngrunt.initConfig({\n  chown: {\n    options: {\n      uid: 0,\n      gid: 0\n    },\n    targetA: {\n      src: ['path/to/a']\n    },\n    targetB: {\n      src: ['path/to/b']\n    }\n  },\n});\n```\n\n#### Custom options\n\nSet `uid` and `gid` values per target.\n\n```js\ngrunt.initConfig({\n  chown: {\n    options: {\n      uid: 0,\n      gid: 0\n    },\n    targetA: {\n      options: {\n        uid: 501,\n        gid: 20\n      },\n      src: ['path/to/a']\n    },\n    targetB: {\n      options: {\n        uid: 504,\n        gid: 80\n      },\n      src: ['path/to/b']\n    }\n  },\n});\n```\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](http://gruntjs.com/).\n\n## Release History\n- 2013-12-16   v0.1.3   revised output log/updated README.md with usage examples\n- 2013-12-13   v0.1.2   fixed github URLs\n- 2013-12-13   v0.1.1   initial release\n",
  "readmeFilename": "README.md",
  "_id": "grunt-chown@0.1.3",
  "dist": {
    "shasum": "e539ac6d8bcb36c5cdc0f015dd464857b437424b"
  },
  "_from": "grunt-chown@0.1.x",
  "_resolved": "https://registry.npmjs.org/grunt-chown/-/grunt-chown-0.1.3.tgz"
}
