This commit is contained in:
XhmikosR 2016-02-20 11:23:20 +02:00
Родитель ba28fe8bd8
Коммит 702179e22b
3 изменённых файлов: 18 добавлений и 21 удалений

Просмотреть файл

@ -1,4 +1,5 @@
{
"root": true,
"env": {
"node": true
},
@ -14,6 +15,7 @@
"eqeqeq": 2,
"indent": [2, 2],
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"keyword-spacing": 2,
"new-cap": 2,
"new-parens": 2,
"no-array-constructor": 2,
@ -28,8 +30,8 @@
"no-inline-comments": 0,
"no-irregular-whitespace": 2,
"no-mixed-spaces-and-tabs": 2,
"no-multi-spaces": 2,
"no-multiple-empty-lines": 0,
"no-multi-spaces": 2,
"no-new-object": 2,
"no-param-reassign": 0,
"no-process-env": 2,
@ -40,6 +42,7 @@
"no-trailing-spaces": 2,
"no-underscore-dangle": 0,
"no-void": 2,
"object-curly-spacing": [2, "never"],
"one-var": [2, "never"],
"operator-assignment": [2, "always"],
"padded-blocks": 0,
@ -47,14 +50,10 @@
"radix": 2,
"semi": [2, "always"],
"semi-spacing": [2, {"before": false, "after": true}],
"space-after-keywords": [2, "always", {"checkFunctionKeyword": true}],
"space-before-blocks": [2, "always"],
"space-before-function-parentheses": [2, {"anonymous": "always", "named": "never"}],
"space-in-brackets": [2, "never"],
"spaced-comment": [2, "always"],
"space-in-parens": [2, "never"],
"space-return-throw-case": 2,
"space-unary-ops": [2, {"words": true, "nonwords": false}],
"spaced-line-comment": [2, "always"],
"strict": [2, "global"],
"vars-on-top": 0,
"wrap-iife": [2, "inside"],

Просмотреть файл

@ -12,8 +12,6 @@
## Getting Started
This plugin requires Grunt `~0.4.3`.
If 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:
```shell
@ -53,14 +51,14 @@ All options are passed directly to css-flip's `flip()` function.
None of the options are required.
#### options.compress
Type: `Boolean`
Default value: `false`
* Type: `Boolean`
* Default: `false`
Whether to slightly compress output. Some newlines and indentation are removed. Comments stay intact.
#### options.indent
Type: `String`
Default value: `' '` (two spaces)
* Type: `String`
* Default: `' '` (two spaces)
String value to use for 1 level of indentation in the output.

Просмотреть файл

@ -6,7 +6,7 @@
"author": "Chris Rebert <code@rebertia.com> (http://chrisrebert.com)",
"repository": {
"type": "git",
"url": "https://github.com/twbs/grunt-css-flip.git"
"url": "git+https://github.com/twbs/grunt-css-flip.git"
},
"bugs": {
"url": "https://github.com/twbs/grunt-css-flip/issues"
@ -20,19 +20,19 @@
"test": "grunt test"
},
"dependencies": {
"css-flip": "~0.5.0"
"css-flip": "^0.5.0"
},
"devDependencies": {
"grunt": "~0.4.5",
"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-jshint": "^0.11.0",
"grunt-contrib-nodeunit": "^0.4.1",
"grunt-eslint": "^10.0.0",
"grunt-jscs": "^1.5.0",
"grunt": "^0.4.5",
"grunt-contrib-clean": "^1.0.0",
"grunt-contrib-jshint": "^1.0.0",
"grunt-contrib-nodeunit": "^1.0.0",
"grunt-eslint": "^18.0.0",
"grunt-jscs": "^2.7.0",
"load-grunt-tasks": "^3.1.0"
},
"peerDependencies": {
"grunt": "~0.4.3"
"grunt": ">=0.4.5"
},
"engines": {
"node": ">= 0.10.0"