{"name":"precss","version":"1.3.0","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.10","postcss-advanced-variables":"1.2.2","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.1","postcss-media-minmax":"^2.1.0","postcss-mixins":"^2.1.0","postcss-nested":"^1.0.0","postcss-nesting":"^2.0.6","postcss-partial-import":"^1.3.0","postcss-selector-matches":"^2.0.0","postcss-selector-not":"^2.0.0"},"devDependencies":{"eslint":"^1.7.3","tap-spec":"^4.1.0","tape":"^4.2.2"},"scripts":{"lint":"eslint . --ignore-path .gitignore","fixtures":"tape test/*.js | tap-spec","test":"npm run lint && npm run fixtures"},"engines":{"iojs":">=2.0.0","node":">=0.12.0"},"gitHead":"5f88d707fe39699c7dd1240badffda8aca2b7108","_id":"precss@1.3.0","_shasum":"31bf18fec29970e89b3872a9f68a2d3edd23c501","_from":".","_npmVersion":"2.14.3","_nodeVersion":"0.12.5","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"31bf18fec29970e89b3872a9f68a2d3edd23c501","tarball":"http://registry-npm.ywwl.com/precss/download/precss-1.3.0.tgz","integrity":"sha512-9unX+3X8EHnytigieWQIATrdwuRKL46GPV1y8UmST/P9kJK3CY8cCaAEwnGmSmyy+wzb1l7WHd30VxOpn2BVqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEIaeJljQxfZgVeb2+MXftL+za/zxP1XyC6w44VLpSiuAiBxgOLEazrn37Wpt6aLtg0o77toocXKTm88VTR6CED1IA=="}],"size":8308,"noattachment":false,"key":"/precss/-/precss-1.3.0.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":1445482574527,"_cnpm_publish_time":1445482574527,"dist-tags":{"latest":"4.0.0"}}