{
  "name": "grunt-concat-css",
  "version": "0.3.1",
  "description": "Concat CSS with @import statements at top and relative url preserved.",
  "homepage": "https://github.com/urturn/grunt-concat-css",
  "author": {
    "name": "Olivier Amblet",
    "email": "olivier@amblet.net"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/urturn/grunt-concat-css.git"
  },
  "bugs": {
    "url": "https://github.com/urturn/grunt-concat-css/issues"
  },
  "licenses": [
    {
      "type": "MIT",
      "url": "https://github.com/urturn/grunt-concat-css/blob/master/LICENSE-MIT"
    }
  ],
  "engines": {
    "node": ">= 0.8.0"
  },
  "scripts": {
    "test": "grunt test"
  },
  "directories": {
    "test": "test"
  },
  "devDependencies": {
    "grunt": "~0.4.2",
    "grunt-concat-css": "git://github.com/webdoc/grunt-concat-css.git",
    "grunt-contrib-clean": "~0.5.0",
    "grunt-contrib-jshint": "~0.8.0",
    "grunt-contrib-nodeunit": "~0.2.2"
  },
  "peerDependencies": {
    "grunt": "~0.4.1"
  },
  "keywords": [
    "gruntplugin",
    "css",
    "concat"
  ],
  "readme": "# grunt-concat-css\n\n> Concat CSS with @import statements at top and relative url preserved.\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\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-concat-css --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-concat-css');\n```\n\n## The \"concat_css\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `concat_css` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  concat_css: {\n    options: {\n      // Task-specific options go here.\n    },\n    all: {\n      src: [\"/**/*.css\"],\n      dest: \"styles.css\"\n    },\n  },\n})\n```\n\n### Usage Examples\n\n#### Default Options\nBy default, all css are concatenated. The only things that happens is that every @import statement are placed at the begininning of the resulting file (as @import statement).\n\n```js\ngrunt.initConfig({\n  concat_css: {\n    options: {},\n    files: {\n      'dest/compiled.css': ['src/styles/componentA.css', 'src/styles/componentB.css'],\n    },\n  },\n})\n```\n\n#### Rebase URLs\nBy specifying assetBaseUrl and baseDir, all the assets will be rebased relative to this project rebase URL.\n\n```js\ngrunt.initConfig({\n  concat_css: {\n    options: {\n      assetBaseUrl: 'static/assets',\n      baseDir: 'src/(styles|assets)'\n    },\n    files: {\n      'static/styles.css': ['src/styles/**/*.css', 'src/assets/**/*.css']\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\n0.3.1:\n- REFACTOR: added baseDir to be able to properly compute the baseUrl of an asset\n\n0.3.0: \n- Tests added\n- REFACTOR: {string} assetBaseUrl option replace {boolean} rebaseUrls\n\n0.2.0:\n- UPDATE: rebaseUrls option is disabled by default\n",
  "readmeFilename": "README.md",
  "_id": "grunt-concat-css@0.3.1",
  "_from": "grunt-concat-css@~0.3.1"
}
