{"name":"postcss-atroot","version":"0.1.0","description":"PostCSS plugin to place rules directly at the root","main":"index.js","repository":{"type":"git","url":"git+https://github.com/OEvgeny/postcss-atroot.git"},"scripts":{"start":"gulp","test":"gulp"},"keywords":["postcss","at-root","postcss-plugin","sass","atroot","css"],"author":{"name":"OEvgeny"},"license":"MIT","devDependencies":{"chai":"^3.2.0","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-mocha":"^2.1.3","mocha":"^2.3.2","postcss":"^5.0.5"},"gitHead":"a71fbe0e486996b10249d13e9767742f37760e3e","bugs":{"url":"https://github.com/OEvgeny/postcss-atroot/issues"},"homepage":"https://github.com/OEvgeny/postcss-atroot#readme","_id":"postcss-atroot@0.1.0","_shasum":"0547693d727abe0755615b4296eb91dd1eea0759","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.7","_npmUser":{"name":"oevgeny","email":"eolonov@gmail.com"},"dist":{"shasum":"0547693d727abe0755615b4296eb91dd1eea0759","tarball":"http://registry-npm.ywwl.com/postcss-atroot/download/postcss-atroot-0.1.0.tgz","integrity":"sha512-Oap8xrj7/voUXrf5OPKTtFr/SZ+rFMxuD1WVh+3kTEmr2PaL2seX2s39+TUroG5J/dAOjRAgge4aaJjdGQPUzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDi8hoyP2ZFq1AqV4XWMcV9Nfet4ZkedQHK6xLZUX1oBgIhALsqrz4rn10cHMcBlyaA3ttUYFD82PythEfA2uhBUobQ"}],"size":4058,"noattachment":false,"key":"/postcss-atroot/-/postcss-atroot-0.1.0.tgz"},"maintainers":[{"name":"oevgeny","email":"eolonov@gmail.com"}],"directories":{},"readme":"# PostCSS at-root [![Circle CI](https://circleci.com/gh/OEvgeny/postcss-atroot.svg?style=svg)](https://circleci.com/gh/OEvgeny/postcss-atroot)\nPostCSS plugin to place rules directly at the root node.\n\nThe ``@at-root`` causes one or more rules to be emitted at the root of the document, rather than being nested beneath their parent selectors:\n```css\n.parent {\n  ...\n  @at-root{\n    .child {...}\n  }\n}\n```\nWhich would produce:\n```css\n.child { ... }\n.parent { ... }\n```\n\nIt will play well with postcss ``@include`` plugins.  \nfoo.css:\n```css\n@at-root {\n  @viewport { width: device-width; }\n}\n.foo {\n  color: blue;\n}\n```\n\nbar.css:\n```css\n.bar {\n  @import \"foo.css\";\n}\n\n```\nWill produce:\n```css\n@viewport { width: device-width; }\n\n.bar .foo {\n  color: blue; \n}\n```\n\n## Usage\n\n```js\npostcss([ require('postcss-atroot')() ])\n```\n\nSee [PostCSS] docs for examples for your environment.\n\n[PostCSS]: https://github.com/postcss/postcss\n","publish_time":1442772628983,"_cnpm_publish_time":1442772628983,"dist-tags":{"latest":"0.2.4"}}