{"name":"@stylelint/postcss-css-in-js","version":"0.37.3","description":"PostCSS syntax for parsing CSS in JS literals","keywords":["postcss","syntax","emotion","aphrodite","glamor","glamorous","react-native","react-style","reactcss","styled-components","styletron-react","typestyle","css-in-js","css"],"repository":{"type":"git","url":"git+https://github.com/stylelint/postcss-css-in-js.git"},"license":"MIT","author":{"name":"gucong3000"},"main":"index.js","scripts":{"format":"prettier . --write","_postinstall":"is-ci || husky install","lint":"npm-run-all --parallel lint:*","lint:formatting":"prettier . --check","lint:js":"eslint . --cache --max-warnings=0","lint:md":"remark . --quiet --frail","prepublishOnly":"pinst --disable","postpublish":"pinst --enable","release":"np","test":"jest","watch":"jest --watch"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,md,yml}":"prettier --write"},"prettier":"@stylelint/prettier-config","eslintConfig":{"extends":["stylelint"]},"remarkConfig":{"plugins":["@stylelint/remark-preset"]},"jest":{"collectCoverage":true,"collectCoverageFrom":["**/*.js","!coverage/**","!test{,s}/**","!**/.{prettier,eslint,mocha}rc.{js,cjs}"],"testMatch":["**/test/*.js","**/test/**/*.test.js"]},"dependencies":{"@babel/core":"^7.17.9"},"devDependencies":{"@stylelint/prettier-config":"^2.0.0","@stylelint/remark-preset":"^2.0.0","autoprefixer":"^9.8.6","codecov":"^3.8.3","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-config-stylelint":"^13.1.0","husky":"^7.0.2","is-ci":"^3.0.0","jest":"^26.6.3","json5":"^2.2.0","lint-staged":"^11.1.2","np":"^7.5.0","npm-run-all":"^4.1.5","pinst":"^2.1.6","postcss":">=7.0.32","postcss-parser-tests":"^6.5.0","postcss-safe-parser":"^4.0.2","postcss-syntax":">=0.36.2","prettier":"^2.4.1","remark-cli":"^9.0.0"},"peerDependencies":{"postcss":">=7.0.0","postcss-syntax":">=0.36.2"},"publishConfig":{"access":"public"},"gitHead":"1a8e100450c60f75fb9062d15c29fa1e6e795f45","bugs":{"url":"https://github.com/stylelint/postcss-css-in-js/issues"},"homepage":"https://github.com/stylelint/postcss-css-in-js#readme","_id":"@stylelint/postcss-css-in-js@0.37.3","_nodeVersion":"16.14.2","_npmVersion":"8.8.0","dist":{"integrity":"sha512-scLk3cSH1H9KggSniseb2KNAU5D9FWc3H7BxCSAIdtU9OWIyw0zkEZ9qEKHryRM+SExYXRKNb7tOOVNAsQ3iwg==","shasum":"d149a385e07ae365b0107314c084cb6c11adbf49","tarball":"http://registry-npm.ywwl.com/@stylelint/postcss-css-in-js/download/@stylelint/postcss-css-in-js-0.37.3.tgz","fileCount":23,"unpackedSize":40177,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0Om1qiX//Lptd0RgMDZcD0j3B9qRxVcVx6EXS6f+pmwIhALfbVhiNLmLnV10icY1cCUjaZ7hLrVCvyWN2ibal9RmH"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJicAOgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpp4A//cNLMM47s4TA8BJpWfFc05mOLSzhtozXeiYx5BsdYV5jpuBf3\r\nBhgvS77v2Wo6tmgeWdAm+174V+7MrSi9EroLLSE3a4Olv2935MQ1jkdjcWJ7\r\nzsM0Kq/Lmh6Gepa01zLJwzaBhk42vCqT+F/PRxc3VH77abgBv5xhsC/D9l3e\r\n9I5QLoNWV2EaxmF0mIVd7ll1Oio5gY5m8KKhI8RlslnKk42okoMuX53RqOXr\r\nyF6ak/VnJsGRv4hNcHgxvDOVQhItwFf8agRt039xQ9y3Fk/s4LVAeyMIBIt4\r\ncmXrOa12IDwFDLdTDW7SWWhr2DGHIs2RqH2nbWnXwHll0JvV9R8m2TcRHZGk\r\nOmFcizG4hRwRMzFiv/8ESZHQntITyU+crUZ9ZmBTfMMo6YAlM6AeQfphBBdc\r\n+P15GOfS2x6K0X7LFpt/PLYehRbUzfFcjpV15oxk+Bx+XNabMDAyc0+Upjua\r\nQ02B5cwCFjA6TNBkVcHOTq8EVP11QnAkEcFuq9W4C9j3E77yuqy0Y3DMVh0a\r\nMR/DPbALOHpm9vIBblwsBHxIS96n6pqmKsvNevDAUjr9HxJHVbCxto0wly99\r\n+Mw2IRqZy77cNO7YpL7AYsFfqJixfu2TnmD3lQ1Wzkf2iz/qyxHjdQ5OvIyo\r\nOEtxUz2ZeQC12mWFOP2hkDEm5Yk/CRNheCI=\r\n=m9gI\r\n-----END PGP SIGNATURE-----\r\n","size":12487,"noattachment":false,"key":"/@stylelint/postcss-css-in-js/-/@stylelint/postcss-css-in-js-0.37.3.tgz"},"_npmUser":{"name":"hudochenkov","email":"aleks@hudochenkov.com"},"directories":{},"maintainers":[{"name":"jeddy3","email":"npm@richardhallows.com"},{"name":"hudochenkov","email":"aleks@hudochenkov.com"},{"name":"ntwb","email":"stephen@netweb.com.au"},{"name":"ota-meshi","email":"otameshiyo23@gmail.com"},{"name":"ybiquitous","email":"ybiquitous@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-css-in-js_0.37.3_1651508128368_0.40629682910601783"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","readme":"# PostCSS CSS-in-JS Syntax\n\n[![NPM version](https://img.shields.io/npm/v/@stylelint/postcss-css-in-js.svg)](https://www.npmjs.org/package/@stylelint/postcss-css-in-js) [![Build Status](https://github.com/stylelint/postcss-css-in-js/workflows/CI/badge.svg)](https://github.com/stylelint/postcss-css-in-js/actions)\n\n<img align=\"right\" width=\"95\" height=\"95\"\n\ttitle=\"Philosopher’s stone, logo of PostCSS\"\n\tsrc=\"https://api.postcss.org/logo.svg\">\n\n[PostCSS](https://github.com/postcss/postcss) syntax for parsing [CSS in JS](https://github.com/MicheleBertoli/css-in-js) literals:\n\n- [aphrodite](https://github.com/Khan/aphrodite)\n- [astroturf](https://github.com/4Catalyzer/astroturf)\n- [csjs](https://github.com/rtsao/csjs)\n- [css-light](https://github.com/streamich/css-light)\n- [cssobj](https://github.com/cssobj/cssobj)\n- [electron-css](https://github.com/azukaar/electron-css)\n- [emotion](https://github.com/emotion-js/emotion)\n- [freestyler](https://github.com/streamich/freestyler)\n- [glamor](https://github.com/threepointone/glamor)\n- [glamorous](https://github.com/paypal/glamorous)\n- [j2c](https://github.com/j2css/j2c)\n- [linaria](https://github.com/callstack/linaria)\n- [lit-css](https://github.com/bashmish/lit-css)\n- [react-native](https://github.com/necolas/react-native-web)\n- [react-style](https://github.com/js-next/react-style)\n- [reactcss](https://github.com/casesandberg/reactcss)\n- [styled-components](https://github.com/styled-components/styled-components)\n- [styletron-react](https://github.com/rtsao/styletron)\n- [styling](https://github.com/andreypopp/styling)\n- [typestyle](https://github.com/typestyle/typestyle)\n\n## Getting Started\n\nFirst thing's first, install the module:\n\n```\nnpm install postcss-syntax @stylelint/postcss-css-in-js --save-dev\n```\n\n## Use Cases\n\n```js\nconst postcss = require(\"postcss\");\nconst stylelint = require(\"stylelint\");\nconst syntax = require(\"postcss-syntax\");\npostcss([stylelint({ fix: true })])\n  .process(source, { syntax: syntax })\n  .then(function (result) {\n    // An alias for the result.css property. Use it with syntaxes that generate non-CSS output.\n    result.content;\n  });\n```\n\ninput:\n\n```javascript\nimport glm from \"glamorous\";\nconst Component1 = glm.a({\n  flexDirectionn: \"row\",\n  display: \"inline-block\",\n  color: \"#fff\"\n});\n```\n\noutput:\n\n```javascript\nimport glm from \"glamorous\";\nconst Component1 = glm.a({\n  color: \"#fff\",\n  display: \"inline-block\",\n  flexDirectionn: \"row\"\n});\n```\n\n## Advanced Use Cases\n\nAdd support for more `css-in-js` package:\n\n```js\nconst syntax = require(\"postcss-syntax\")({\n  \"i-css\": (index, namespace) => namespace[index + 1] === \"addStyles\",\n  \"styled-components\": true\n});\n```\n\nSee: [postcss-syntax](https://github.com/gucong3000/postcss-syntax)\n\n## Style Transformations\n\nThe main use case of this plugin is to apply PostCSS transformations to CSS code in template literals & styles as object literals.\n","publish_time":1651508128610,"_cnpm_publish_time":1651508128610,"dist-tags":{"latest":"0.38.0"}}