{"name":"grunt-autoprefixer","description":"Parse CSS and add prefixed properties and values by Can I Use database for actual browsers. Based on Autoprefixer.","version":"0.1.20130516","homepage":"https://github.com/nDmitry/grunt-autoprefixer","author":{"name":"Dmitry Nikitenko","email":"dima.nikitenko@gmail.com"},"repository":{"type":"git","url":"git://github.com/nDmitry/grunt-autoprefixer.git"},"bugs":{"url":"https://github.com/nDmitry/grunt-autoprefixer/issues"},"licenses":[{"type":"MIT","url":"https://github.com/nDmitry/grunt-autoprefixer/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.1","grunt-contrib-clean":"~0.4","grunt-contrib-nodeunit":"~0.1","grunt":"~0.4","autoprefixer":"0.x"},"peerDependencies":{"grunt":"~0.4","autoprefixer":"0.x"},"keywords":["gruntplugin","prefix","autoprefixer"],"_id":"grunt-autoprefixer@0.1.20130516","dist":{"shasum":"f854be50d3ed5a2011326cd0049a3e00d5731108","tarball":"http://registry-npm.ywwl.com/grunt-autoprefixer/download/grunt-autoprefixer-0.1.20130516.tgz","integrity":"sha512-QAzc5ILgNJ16jZAnL92+c5gbZWyxV8zruti0pTj1XAFa2PTa9QY2jOwLmk09C5018BLHXdY8xbc/7IkWP7lTgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDQWpjCgpJKh1YpSnyRw4nbdPwv/yYrImhJC2QdE+tPlAiEAwoovKudY99vCJ5U78QR7gt9L+b+3bNi9QYhpCCeRp8Q="}],"size":2896,"noattachment":false,"key":"/grunt-autoprefixer/-/grunt-autoprefixer-0.1.20130516.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"weiss","email":"dima.nikitenko@gmail.com"},"maintainers":[{"name":"weiss","email":"dima.nikitenko@gmail.com"}],"directories":{},"readme":"# Deprecation notice\n\n### This project has been deprecated in favour of [grunt-postcss](https://github.com/nDmitry/grunt-postcss).\n\n# grunt-autoprefixer\n[![Build Status](https://travis-ci.org/nDmitry/grunt-autoprefixer.png?branch=master)](https://travis-ci.org/nDmitry/grunt-autoprefixer)\n[![Dependency Status](https://david-dm.org/nDmitry/grunt-autoprefixer.png)](https://david-dm.org/nDmitry/grunt-autoprefixer)\n[![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/)\n\n> [Autoprefixer](https://github.com/postcss/autoprefixer) parses CSS and adds vendor-prefixed CSS properties using the [Can I Use](http://caniuse.com/) database.\n\n## Getting Started\nThis plugin requires Grunt `~0.4.0`\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-autoprefixer --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-autoprefixer');\n```\n\n## The \"autoprefixer\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `autoprefixer` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  autoprefixer: {\n    options: {\n      // Task-specific options go here.\n    },\n    your_target: {\n      // Target-specific file lists and/or options go here.\n    },\n  },\n})\n```\n\n### Options\n\n#### options.browsers\nType: `Array`\nDefault value: an array with [default browsers](https://github.com/ai/browserslist)\n\nYou can specify browsers actual for your project using this option:\n\n```js\noptions: {\n  browsers: ['last 2 versions', 'ie 8', 'ie 9']\n}\n```\n\nOr using a global config file named `browserslist` at the root of your project:\n\n```\n# Browsers that we support\n\n> 5% in US\nLast 2 versions\n```\n\nRead more about browserslist [here](https://github.com/ai/browserslist).\n\n#### options.cascade\nType: `Boolean`\nDefault value: `true`\n\nPass `false` to disable ‘cascade’ indentation. Read more [here](https://github.com/postcss/autoprefixer#visual-cascade).\n\n#### options.remove\nType: `Boolean`\nDefault value: `true`\n\nPass `false` to disable outdated prefixes cleaning. Read more [here](https://github.com/postcss/autoprefixer/releases/tag/4.0.0).\n\n#### options.diff\nType: `Boolean|String`\nDefault value: `false`\n\nSet it to `true` if you want to get an output patch file:\n\n```js\noptions: {\n  diff: true // or 'custom/path/to/file.css.patch'\n}\n```\nAlso you can specify a path where to save this file. More examples in [Gruntfile](https://github.com/nDmitry/grunt-autoprefixer/blob/master/Gruntfile.js).\n\n#### options.map\nType: `Boolean|Object`\nDefault value: `false`\n\nIf the `map` option isn't defined or is set to `false`, Autoprefixer will neither create nor update a sourcemap.\n\nIf `true` is specified, Autoprefixer will try to find a sourcemap from a previous compilation step using an annotation comment (e.g. from Sass) and create a new sourcemap based on the found one (or just create a new inlined sourcemap). The created sourcemap can be either a separate file or an inlined map depending on what the previous sourcemap was.\n\nYou can gain more control over sourcemap generation by setting an object to the `map` option:\n\n* `prev` (string or `false`): a path to a directory where a previous sourcemap is (e.g. `path/`). By default, Autoprefixer will try to find a previous sourcemap using a path from the annotation comment (or using the annotation comment itself if the map is inlined). You can also set this option to `false` to delete the previous sourcemap.\n* `inline` (boolean): whether a sourcemap will be inlined or not. By default, it will be the same as a previous sourcemap or inlined.\n* `annotation` (string): set this option to URL path you wish the annotation comment to be e.g. `path/file.css.map` (by default, Autoprefixer will save your sourcemap to a directory where you save CSS). This option requires `inline` to be `false` or undefined.\n* `sourcesContent` (boolean): whether original contents (e.g. Sass sources) will be included to a sourcemap. By default, Autoprefixer will add contents only for new sourcemaps or if a previous sourcemap has them.\n\n#### options.safe\nType: `Boolean`\nDefault value: `false`\n\nEnable or disable [PostCSS safe mode](https://github.com/postcss/postcss#safe-mode).\n\n```js\noptions: {\n  safe: true\n}\n```\n\nCheck out project's [Gruntfile.js](https://github.com/nDmitry/grunt-autoprefixer/blob/master/Gruntfile.js) for more examples.\n\n### Updating prefixes database\n\n```\n$ npm update caniuse-db\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","publish_time":1368701422728,"_cnpm_publish_time":1368701422728,"dist-tags":{"latest":"3.0.4"}}