{"name":"precss","version":"4.0.0","description":"Use Sass-like markup and staged CSS features in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/precss.git"},"homepage":"https://github.com/jonathantneal/precss#readme","bugs":{"url":"https://github.com/jonathantneal/precss/issues"},"main":"index.js","module":"index.mjs","scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"npm run test:js && npm run test:tape","test:js":"eslint src/*.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"postcss":"^7.0.6","postcss-advanced-variables":"^3.0.0","postcss-atroot":"^0.1.3","postcss-extend-rule":"^2.0.0","postcss-nested":"^4.1.0","postcss-preset-env":"^6.4.0","postcss-property-lookup":"^2.0.0"},"devDependencies":{"@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","babel-eslint":"^10.0.1","eslint":"^5.9.0","eslint-config-dev":"^2.0.0","postcss-tape":"^2.2.0","pre-commit":"^1.2.2","rollup":"^0.67.3","rollup-plugin-babel":"^4.0.3"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["postcss","css","postcss-plugin","sass","scss","variables","conditionals","iterations","iterators","iterables","iterate","contents","eaches","elses","fors","ifs","includes","imports","medias","queries","query","mixins","defaults","functions","colors","customs","dirs","system-ui","image-set","logical","properties","blocks","inlines","starts","ends","any-link","font-variant","overflow-wrap","system-ui","caniuse"],"gitHead":"955660433169ff20506b63020ffc902a2f5e6159","_id":"precss@4.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"integrity":"sha512-cRPZMKpHLZXR6gJlrXRjJe7SQMf+wYxg6rKp+TwYsYABjApSj9z8E8yIlagqADaWyikeIZttaNU6xqSjFIAP/g==","shasum":"518ce5c4d31eac9bd268c538ae6fb462f3bf57b3","tarball":"http://registry-npm.ywwl.com/precss/download/precss-4.0.0.tgz","fileCount":6,"unpackedSize":18159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb+Bw5CRA9TVsSAnZWagAAHZcP/3fNCe2gLRTYiUuoLpzM\nZXtb6zMaOgs2VTUuB4ADEyUqdhzZXjJuzeJsxEkINeorChU0H4/WNNkVgFFd\nONLr3E1EDEgPvFjBYBL6y/kFwcoE6MtfrsjknNlQy8vZXn6CDjmSYuc9Sqeu\nxsLdwRIuDwszFTXPKto3LSF4tUqNUwW5dA0eEhCPeuVJA5I2qi3NQyXeRq4R\nEAciNbU3yEh9indebeyJzlVv45iMIY0eVRdjlt4MAnvTZPy5zVj6+sKFk74p\nDf6SRNxyLCp2vJa8ACOeQzqRivqFKVv2y/UWhJ1KFW/w3jTSxwhQWdkHwjm+\n2XN2Ufu+GKPojNYQHhngG9Vx9evceZ5r7T+PpBpvae9Irpjr2UCpQgT8JGsa\nCF0UNhKlPM6zjfvplJ6+C/HgIamBtYbJq1DnW15FxIDnt++ROxoENOWEwNVM\nJAa5rX9cRuf42dyMkq8vKygKeto6sH6t0kzN9H7Ln1NiAf33zwPm6dAQHO03\nkYGrgftSmB/eajNz9hNxg9H2A/hNfFLS3a8knxibcSeWnfjcJZISVfhSjUyo\n2r/tCNEWT/Uk36IoTRNxjQbjAyA1Y2aoJ2eeB70DVUABMtwv2HRqRF0lYcVb\nHiBsGqlBcdIUZzWhrjimiP2ThaoXacAb6PjjRqbBBTKb1tmMYX51OLBI2EKI\n8lNL\r\n=9tpN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnelPp5nuRIMQ8E3xEs9YhigDoIBSBSC7GgNxCFxh0gQIgWrGNOUVx+Lg1SKmFarBIptGT7Jcd3ojCFu43ju9ck9M="}],"size":6217,"noattachment":false,"key":"/precss/-/precss-4.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/precss_4.0.0_1542986806576_0.6347470006797695"},"_hasShrinkwrap":false,"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":1542986806734,"_cnpm_publish_time":1542986806734,"dist-tags":{"latest":"4.0.0"}}