{"_id":"postcss-atroot","_rev":"322336","name":"postcss-atroot","description":"PostCSS plugin to place rules directly at the root","dist-tags":{"latest":"0.2.3"},"maintainers":[{"name":"oevgeny","email":"eolonov@gmail.com"}],"time":{"modified":"2021-06-04T01:28:36.000Z","created":"2015-09-20T18:10:28.983Z","0.2.3":"2021-05-24T09:00:32.818Z","0.1.3":"2015-11-21T11:44:22.041Z","0.1.2":"2015-09-20T18:32:33.983Z","0.1.0":"2015-09-20T18:10:28.983Z"},"users":{},"author":{"name":"OEvgeny"},"repository":{"type":"git","url":"git+https://github.com/OEvgeny/postcss-atroot.git"},"versions":{"0.2.3":{"name":"postcss-atroot","version":"0.2.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":{"pretest":"eslint index.js test","test":"mocha test/*.js"},"keywords":["postcss","at-root","postcss-plugin","sass","atroot","css"],"author":{"name":"OEvgeny"},"license":"MIT","engines":{"node":">= 10"},"devDependencies":{"chai":"^4.3.4","eslint":"^7.26.0","mocha":"^8.4.0","postcss":"^8.2.15"},"peerDependencies":{"postcss":"^8.2.15"},"gitHead":"69821d1ee99f08c3c911179daba6dff9bc78cdbc","bugs":{"url":"https://github.com/OEvgeny/postcss-atroot/issues"},"homepage":"https://github.com/OEvgeny/postcss-atroot#readme","_id":"postcss-atroot@0.2.3","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"shasum":"c421e7a4454ad56ce94e01d224ff8b4d9c1a0241","size":3822,"noattachment":false,"key":"/postcss-atroot/-/postcss-atroot-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-atroot/download/postcss-atroot-0.2.3.tgz"},"_npmUser":{"name":"oevgeny","email":"eolonov@gmail.com"},"directories":{},"maintainers":[{"name":"oevgeny","email":"eolonov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-atroot_0.2.3_1621846832695_0.4808939476557137"},"_hasShrinkwrap":false,"publish_time":1621846832818,"_cnpm_publish_time":1621846832818},"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","size":4106,"noattachment":false,"key":"/postcss-atroot/-/postcss-atroot-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-atroot/download/postcss-atroot-0.1.3.tgz"},"maintainers":[{"name":"oevgeny","email":"eolonov@gmail.com"}],"directories":{},"publish_time":1448106262041,"_cnpm_publish_time":1448106262041,"_hasShrinkwrap":false},"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","size":4103,"noattachment":false,"key":"/postcss-atroot/-/postcss-atroot-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-atroot/download/postcss-atroot-0.1.2.tgz"},"maintainers":[{"name":"oevgeny","email":"eolonov@gmail.com"}],"directories":{},"publish_time":1442773953983,"_cnpm_publish_time":1442773953983,"_hasShrinkwrap":false},"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","size":4058,"noattachment":false,"key":"/postcss-atroot/-/postcss-atroot-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-atroot/download/postcss-atroot-0.1.0.tgz"},"maintainers":[{"name":"oevgeny","email":"eolonov@gmail.com"}],"directories":{},"publish_time":1442772628983,"_cnpm_publish_time":1442772628983,"_hasShrinkwrap":false}},"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","_attachments":{},"homepage":"https://github.com/OEvgeny/postcss-atroot#readme","bugs":{"url":"https://github.com/OEvgeny/postcss-atroot/issues"},"license":"MIT"}