{
  "name": "cascadify",
  "version": "0.0.6",
  "description": "Recursively find and concatenates styles specified in package.json.",
  "main": "index.js",
  "scripts": {
    "test": "DEBUG=cascadify* tape test/*.js"
  },
  "bin": {
    "cascadify": "bin/cascadify"
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/timoxley/cascadify.git"
  },
  "author": {
    "name": "Tim Oxley"
  },
  "license": "MIT",
  "dependencies": {
    "browserify": "~2.25.0",
    "commander": "~1.3.0",
    "through": "~2.3.4",
    "map-stream": "0.0.2",
    "concat-stream": "~1.0.0",
    "debug": "~0.7.2"
  },
  "devDependencies": {
    "tape": "~1.0.4"
  },
  "readmeFilename": "Readme.md",
  "gitHead": "7864b25b175400f64bbc22352bcc3ddf45f413fe",
  "directories": {
    "test": "test"
  },
  "keywords": [
    "css",
    "browserify",
    "concatenate",
    "cat",
    "bundle",
    "styles"
  ],
  "readme": "# cascadify\n\n[![Build Status](https://travis-ci.org/timoxley/cascadify.png?branch=master)](https://travis-ci.org/timoxley/cascadify)\n\nCascadify aims to work alongside [browserify](https://github.com/substack/node-browserify) to produce a single CSS file\nfor all your client-side npm dependencies.\n\nCascadify recursively finds stylesheets, specified by\npackage.json, and ensures they are concatenated in the correct order\nas per the heirarchy in which they are required.\n\nFor example, if module `A` depends on modules `B` and `C`, the styles of `B` and `C`'s will be output\nbefore the styles of module `A`.\n\n## Installation\n\n```\nnpm install -g cascadify\n```\n\n## Usage\n\nProvide the entry point to your app, and pipe output to desired css\nfile:\n\n```\ncascadify ./index.js > output.css\n```\n\n## Configuration\n\nSpecify styles in an Array in your module's `package.json`:\n\n```json\n{\n  \"name\": \"my-package\",\n  \"styles\": [\n    \"my-package-style.css\"\n  ]\n}\n```\n\n#### Note: \n\nCascadify uses [browserify](https://github.com/substack/node-browserify)'s package finding mechanisms to find required modules, so *modules must be required somewhere via a `require` call for their styles to be used*.\n\n## Example\n\n#### A's package.json:\n```json\n{\n  \"name\": \"a\",\n  \"styles\": [\n    \"a.css\"\n  ]\n}\n```\n\n#### A's index.js:\n```js\nrequire('b')\nrequire('c')\n```\n\n### Run cascadify:\n\nAssume B and C have a similar package.json to A.\n\n```\ncascadify ./a/index.js > output.css\n```\n\n#### output.css\n```css\n/* CSS B */\n/* CSS C */\n/* CSS A */\n```\n\n\n\n## Licence\n\nMIT\n\n",
  "_id": "cascadify@0.0.6",
  "_from": "cascadify"
}
