{"name":"precss","version":"1.2.3","description":"Use Sass-like markup in your CSS","keywords":["postcss","css","postcss-plugin","sass","variables","conditionals","ifs","thens","elses","fors","nesteds","nestings","eaches","mixins","imports","extends","placeholders"],"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/precss.git"},"bugs":{"url":"https://github.com/jonathantneal/precss/issues"},"homepage":"https://github.com/jonathantneal/precss","dependencies":{"postcss":"^5.0.6","postcss-advanced-variables":"1.1.0","postcss-color-function":"^2.0.0","postcss-custom-media":"^5.0.0","postcss-custom-properties":"^5.0.0","postcss-custom-selectors":"^3.0.0","postcss-extend":"^1.0.0","postcss-media-minmax":"^2.1.0","postcss-mixins":"^1.0.1","postcss-nested":"^1.0.0","postcss-nesting":"^2.0.4","postcss-partial-import":"^1.3.0","postcss-selector-matches":"^2.0.0","postcss-selector-not":"^2.0.0"},"devDependencies":{"chai":"^3.3.0","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-mocha":"^2.1.3"},"scripts":{"test":"gulp"},"engines":{"iojs":">=2.0.0","node":">=0.12.0"},"gitHead":"e4a2d2415cbd1e4ba21349b0df36fde6a1311076","_id":"precss@1.2.3","_shasum":"4997224d34500f74a32191ad6e77a59236e565b7","_from":".","_npmVersion":"2.14.3","_nodeVersion":"0.12.5","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"4997224d34500f74a32191ad6e77a59236e565b7","tarball":"http://registry-npm.ywwl.com/precss/download/precss-1.2.3.tgz","integrity":"sha512-nJCmehQaGTsT+lCaiEDbPW9mBPQzNOeDnOLyMrJMng1qZVNH7k4JlZklPIde0/UED7pB2EmpP/OYS4/7aOYnzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8Yi+AfLFtQYKYpY3xlzUNijaJsDB6fomWuTxf/0pm2wIhAJ3OgfZf2lWFtXwM92Wl+MByuJ8VFeQDP/IzXESflwIV"}],"size":4235,"noattachment":false,"key":"/precss/-/precss-1.2.3.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","readme":"# PreCSS [<img src=\"https://postcss.github.io/postcss/logo.svg\" alt=\"PostCSS Logo\" width=\"90\" height=\"90\" align=\"right\">][postcss]\n\n[![NPM Version][npm-img]][npm-url]\n[![Build Status][cli-img]][cli-url]\n[![Support Chat][git-img]][git-url]\n\n[PreCSS] lets you use Sass-like markup and staged CSS features in CSS.\n\n```scss\n$blue: #056ef0;\n$column: 200px;\n\n.menu {\n  width: calc(4 * $column);\n}\n\n.menu_link {\n  background: $blue;\n  width: $column;\n}\n\n/* becomes */\n\n.menu {\n  width: calc(4 * 200px);\n}\n\n.menu_link {\n  background: #056ef0;\n  width: 200px;\n}\n```\n\nPreCSS combines Sass-like syntactical sugar — like variables, conditionals, and\niterators — with emerging CSS features — like logical and custom properties,\nmedia query ranges, and image sets.\n\n## Usage\n\nAdd [PreCSS] to your build tool:\n\n```bash\nnpm install precss --save-dev\n```\n\n#### Node\n\nUse [PreCSS] to process your CSS:\n\n```js\nimport precss from 'precss';\n\nprecss.process(YOUR_CSS);\n```\n\n#### PostCSS\n\nAdd [PostCSS] to your build tool:\n\n```bash\nnpm install postcss --save-dev\n```\n\nUse [PreCSS] as a plugin:\n\n```js\nimport postcss from 'postcss';\nimport precss from 'precss';\n\npostcss([\n  precss(/* options */)\n]).process(YOUR_CSS);\n```\n\n#### Gulp\n\nAdd [Gulp PostCSS] to your build tool:\n\n```bash\nnpm install gulp-postcss --save-dev\n```\n\nUse [PreCSS] in your Gulpfile:\n\n```js\nimport postcss from 'gulp-postcss';\nimport precss from 'precss';\n\ngulp.task('css', function () {\n  return gulp.src('./src/*.css').pipe(\n    postcss([\n      precss(/* options */)\n    ])\n  ).pipe(\n    gulp.dest('.')\n  );\n});\n```\n\n#### Grunt\n\nAdd [Grunt PostCSS] to your build tool:\n\n```bash\nnpm install grunt-postcss --save-dev\n```\n\nUse [PreCSS] in your Gruntfile:\n\n```js\nimport precss from 'precss';\n\ngrunt.loadNpmTasks('grunt-postcss');\n\ngrunt.initConfig({\n  postcss: {\n    options: {\n      use: [\n        precss(/* options */)\n      ]\n    },\n    dist: {\n      src: '*.css'\n    }\n  }\n});\n```\n\n# Plugins\n\nPreCSS is powered by the following plugins (in this order):\n\n- [postcss-extend-rule](https://github.com/jonathantneal/postcss-extend-rule)\n- [postcss-advanced-variables](https://github.com/jonathantneal/postcss-advanced-variables)\n- [postcss-preset-env](https://github.com/jonathantneal/postcss-preset-env)\n- [postcss-atroot](https://github.com/OEvgeny/postcss-atroot)\n- [postcss-property-lookup](https://github.com/simonsmith/postcss-property-lookup)\n- [postcss-nested](https://github.com/postcss/postcss-nested)\n\n[cli-img]: https://img.shields.io/travis/jonathantneal/precss/master.svg\n[cli-url]: https://travis-ci.org/jonathantneal/precss\n[git-img]: https://img.shields.io/badge/chat-gitter-blue.svg\n[git-url]: https://gitter.im/postcss/postcss\n[npm-img]: https://img.shields.io/npm/v/precss.svg\n[npm-url]: https://www.npmjs.com/package/precss\n\n[Gulp PostCSS]: https://github.com/postcss/gulp-postcss\n[Grunt PostCSS]: https://github.com/nDmitry/grunt-postcss\n[PostCSS]: https://github.com/postcss/postcss\n[PreCSS]: https://github.com/jonathantneal/precss\n","publish_time":1443120930897,"_cnpm_publish_time":1443120930897,"dist-tags":{"latest":"4.0.0"}}