{"maintainers":[{"name":"oevgeny","email":"eolonov@gmail.com"}],"keywords":["postcss","at-root","postcss-plugin","sass","atroot","css"],"dist-tags":{"latest":"0.1.3"},"author":{"name":"OEvgeny"},"description":"PostCSS plugin to place rules directly at the root","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","repository":{"type":"git","url":"git+https://github.com/OEvgeny/postcss-atroot.git"},"bugs":{"url":"https://github.com/OEvgeny/postcss-atroot/issues"},"license":"MIT","versions":{"0.1.0":{"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://nexus.dui88.com:8081/nexus/content/groups/npm-all/postcss-atroot/-/postcss-atroot-0.1.0.tgz"},"maintainers":[{"name":"oevgeny","email":"eolonov@gmail.com"}],"directories":{}},"0.1.2":{"name":"postcss-atroot","version":"0.1.2","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":"d5ffe1b5e21939f051aec7c6d70ef55352edf8b1","bugs":{"url":"https://github.com/OEvgeny/postcss-atroot/issues"},"homepage":"https://github.com/OEvgeny/postcss-atroot#readme","_id":"postcss-atroot@0.1.2","_shasum":"18746e070ad75f91e0f2202d5a40bd2d1fe00a7a","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.7","_npmUser":{"name":"oevgeny","email":"eolonov@gmail.com"},"dist":{"shasum":"18746e070ad75f91e0f2202d5a40bd2d1fe00a7a","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/postcss-atroot/-/postcss-atroot-0.1.2.tgz"},"maintainers":[{"name":"oevgeny","email":"eolonov@gmail.com"}],"directories":{}},"0.1.3":{"name":"postcss-atroot","version":"0.1.3","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","dependencies":{"postcss":"^5.0.5"},"devDependencies":{"chai":"^3.2.0","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-mocha":"^2.1.3","mocha":"^2.3.2"},"gitHead":"e345e826b4ef96b37ab3db38182c587ea0f5345a","bugs":{"url":"https://github.com/OEvgeny/postcss-atroot/issues"},"homepage":"https://github.com/OEvgeny/postcss-atroot#readme","_id":"postcss-atroot@0.1.3","_shasum":"6752c0230c745140549345b2b0e30ebeda01a405","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"oevgeny","email":"eolonov@gmail.com"},"dist":{"shasum":"6752c0230c745140549345b2b0e30ebeda01a405","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/postcss-atroot/-/postcss-atroot-0.1.3.tgz"},"maintainers":[{"name":"oevgeny","email":"eolonov@gmail.com"}],"directories":{}}},"name":"postcss-atroot","time":{"modified":"2015-11-21T11:44:22.041Z","created":"2015-09-20T18:10:28.983Z","0.1.0":"2015-09-20T18:10:28.983Z","0.1.2":"2015-09-20T18:32:33.983Z","0.1.3":"2015-11-21T11:44:22.041Z"},"readmeFilename":"README.md","homepage":"https://github.com/OEvgeny/postcss-atroot#readme"}