-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 4.73 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "grunt-autoprefixer",
"description": "Parse CSS and add vendor-prefixed CSS properties using the Can I Use database. Based on Autoprefixer.",
"version": "0.4.2",
"bin": {
"autoprefixer": "./node_modules/autoprefixer/bin/autoprefixer"
},
"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": {
"postinstall": "",
"test": "grunt test"
},
"dependencies": {
"autoprefixer": "~0.8.20131209"
},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-jshint": "~0.7.0",
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-nodeunit": "~0.2.2",
"grunt-contrib-copy": "~0.4.1",
"load-grunt-tasks": "~0.2.0"
},
"peerDependencies": {
"grunt": "~0.4.1"
},
"keywords": [
"gruntplugin",
"prefix",
"autoprefixer"
],
"readme": "# 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\n> [Autoprefixer](https://github.com/ai/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: `['> 1%', 'last 2 versions', 'ff 17', 'opera 12.1']`\n\nYou can specify browsers actual for your project:\n\n```js\noptions: {\n browsers: ['last 2 version', 'ie 8', 'ie 7']\n}\n```\n\n[View more](https://github.com/ai/autoprefixer#browsers).\n\n### Usage Examples\n\n```js\ngrunt.initConfig({\n\n autoprefixer: {\n\n options: {\n // Task-specific options go here.\n },\n\n // just prefix the specified file\n single_file: {\n options: {\n // Target-specific options go here.\n },\n src: 'src/css/file.css',\n dest: 'dest/css/file.css'\n },\n\n // prefix all specified files and save them separately\n multiple_files: {\n expand: true,\n flatten: true,\n src: 'src/css/*.css', // -> src/css/file1.css, src/css/file2.css\n dest: 'dest/css/' // -> dest/css/file1.css, dest/css/file2.css\n },\n\n // prefix all specified files and concat them into the one\n concat: {\n src: 'src/css/*.css', // -> src/css/file1.css, src/css/file2.css\n dest: 'dest/css/concatenated.css' // -> dest/css/concatenated.css\n },\n\n // if you specify only `src` param, the destination will be set automatically,\n // so specified source files will be overwritten\n no_dest: {\n src: 'dest/css/file.css' // globbing is also possible here\n }\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\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/nDmitry/grunt-autoprefixer/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n\n",
"readmeFilename": "README.md",
"_id": "grunt-autoprefixer@0.4.2",
"dist": {
"shasum": "7748a157431e28cd8232a88e4570db0abbb5e4df"
},
"_from": "grunt-autoprefixer@~0.4.0",
"_resolved": "http://registry.npmjs.org/grunt-autoprefixer/-/grunt-autoprefixer-0.4.2.tgz"
}