{"_id":"@codespeed/styled-jsx-plugin-sass","_rev":"1-d9ed77e9fe4adf9ce397ab98e89a0cc7","name":"@codespeed/styled-jsx-plugin-sass","dist-tags":{"latest":"4.1.3"},"versions":{"4.1.2":{"name":"@codespeed/styled-jsx-plugin-sass","version":"4.1.2","keywords":["styled-jsx-plugin","styled-jsx","sass","scss","css-in-js"],"author":{"name":"Marton Lederer"},"license":"MIT","_id":"@codespeed/styled-jsx-plugin-sass@4.1.2","maintainers":[{"name":"dallasjames42","email":"dallasjames42@gmail.com"},{"name":"thisistomhale","email":"thisistomhale@gmail.com"}],"homepage":"https://github.com/Thream/styled-jsx-plugin-sass#readme","bugs":{"url":"https://github.com/Thream/styled-jsx-plugin-sass/issues"},"dist":{"shasum":"12f26a6d48512292826904878913ddea341e2359","tarball":"https://registry.npmjs.org/@codespeed/styled-jsx-plugin-sass/-/styled-jsx-plugin-sass-4.1.2.tgz","fileCount":4,"integrity":"sha512-m9ORzXBpm+4bDC2sx4fntGTUtqwreGkI4L5G7CCc4T209df0CbUSgYKUZcrmustalR/3a+X7oZjyDlrwZgTAQA==","signatures":[{"sig":"MEUCIAm0W7fUzXubDajWc5jr4Pz1NF+Y9or5FFumr3tCxHMIAiEAzlwVHlViV/Qgb2L5IqrPeexMkrLXYdMRH7a8TRAgFVQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7986},"main":"index.js","engines":{"node":">=12.0.0"},"gitHead":"758ab166ac9f8013f7a2bbc4c777ec38977cf5c2","scripts":{"test":"mocha test.js","prepare":"husky","release":"semantic-release","lint:commit":"commitlint","postpublish":"pinst --enable","_postinstall":"husky install","lint:markdown":"markdownlint-cli2","prepublishOnly":"pinst --disable","lint:javascript":"standard","lint:editorconfig":"editorconfig-checker"},"_npmUser":{"name":"dallasjames42","email":"dallasjames42@gmail.com"},"standard":{"envs":["node","mocha"]},"repository":{"url":"git+https://github.com/Thream/styled-jsx-plugin-sass.git","type":"git"},"_npmVersion":"9.9.3","description":"Plugin to add Sass support to styled-jsx.","directories":{},"_nodeVersion":"18.20.4","dependencies":{"strip-indent":"3.0.0"},"publishConfig":{"access":"public","provenance":false},"_hasShrinkwrap":false,"devDependencies":{"sass":"1.63.6","husky":"8.0.3","mocha":"10.2.0","pinst":"3.0.0","standard":"17.1.0","@types/node":"20.3.3","@commitlint/cli":"17.6.6","semantic-release":"21.0.6","markdownlint-cli2":"0.8.1","editorconfig-checker":"5.1.1","@commitlint/config-conventional":"17.6.6","markdownlint-rule-relative-links":"2.1.0"},"peerDependencies":{"sass":"*"},"_npmOperationalInternal":{"tmp":"tmp/styled-jsx-plugin-sass_4.1.2_1731964439247_0.7169594275093172","host":"s3://npm-registry-packages"}},"4.1.3":{"name":"@codespeed/styled-jsx-plugin-sass","version":"4.1.3","description":"Plugin to add Sass support to styled-jsx.","license":"MIT","main":"index.js","engines":{"node":">=12.0.0"},"publishConfig":{"access":"public","provenance":false},"keywords":["styled-jsx-plugin","styled-jsx","sass","scss","css-in-js"],"author":{"name":"Marton Lederer"},"repository":{"type":"git","url":"git+https://github.com/Codespeed-Software/styled-jsx-plugin-sass.git"},"bugs":{"url":"https://github.com/Codespeed-Software/styled-jsx-plugin-sass/issues"},"homepage":"https://github.com/Codespeed-Software/styled-jsx-plugin-sass#readme","standard":{"envs":["node","mocha"]},"scripts":{"lint:editorconfig":"editorconfig-checker","lint:markdown":"markdownlint-cli2","lint:javascript":"standard","release":"semantic-release","test":"mocha test.js","_postinstall":"husky install","prepublishOnly":"pinst --disable","postpublish":"pinst --enable","prepare":"husky"},"dependencies":{"strip-indent":"3.0.0"},"devDependencies":{"@types/node":"20.3.3","editorconfig-checker":"5.1.1","husky":"9.1.7","markdownlint-cli2":"0.8.1","markdownlint-rule-relative-links":"2.1.0","mocha":"10.8.2","pinst":"3.0.0","sass":"1.63.6","semantic-release":"21.0.6","standard":"17.1.0"},"peerDependencies":{"sass":"*"},"_id":"@codespeed/styled-jsx-plugin-sass@4.1.3","gitHead":"bafd7b6e8ef856773dda5faf7291620a6df1efe3","_nodeVersion":"18.20.4","_npmVersion":"9.9.3","dist":{"integrity":"sha512-UW1hVClRhoEzvrLEp4JwoIXXFgQihZITa1E1Biox83r5p38vVCkbHBH7z6nfIbULt4jGAu3QbOdi01HY+DUg9A==","shasum":"b634dc465647b376a89667b3c71a803f8e5357b4","tarball":"https://registry.npmjs.org/@codespeed/styled-jsx-plugin-sass/-/styled-jsx-plugin-sass-4.1.3.tgz","fileCount":4,"unpackedSize":8207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNuAI4BV3MIQmfoaohGOx8a6afHYQNnhfHKusXkUFNTAIhAL3PaNNaq2r7553bDxtGyfh6ySbKLu+h+XLstFNHaMNu"}]},"_npmUser":{"name":"dallasjames42","email":"dallasjames42@gmail.com"},"directories":{},"maintainers":[{"name":"dallasjames42","email":"dallasjames42@gmail.com"},{"name":"thisistomhale","email":"thisistomhale@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/styled-jsx-plugin-sass_4.1.3_1732143243686_0.1923922810371772"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-18T21:13:59.160Z","modified":"2024-11-20T22:54:04.139Z","4.1.2":"2024-11-18T21:13:59.418Z","4.1.3":"2024-11-20T22:54:03.856Z"},"bugs":{"url":"https://github.com/Codespeed-Software/styled-jsx-plugin-sass/issues"},"author":{"name":"Marton Lederer"},"license":"MIT","homepage":"https://github.com/Codespeed-Software/styled-jsx-plugin-sass#readme","keywords":["styled-jsx-plugin","styled-jsx","sass","scss","css-in-js"],"repository":{"type":"git","url":"git+https://github.com/Codespeed-Software/styled-jsx-plugin-sass.git"},"description":"Plugin to add Sass support to styled-jsx.","maintainers":[{"name":"dallasjames42","email":"dallasjames42@gmail.com"},{"name":"thisistomhale","email":"thisistomhale@gmail.com"}],"readme":"<h1 align=\"center\">Codespeed-Software/styled-jsx-plugin-sass</h1>\n\n<p align=\"center\">\n  <strong>Plugin to add <a href=\"https://sass-lang.com/\">Sass</a> support to <a href=\"https://github.com/vercel/styled-jsx\">styled-jsx</a>.</strong>\n</p>\n\n<p align=\"center\">\n  <a href=\"./CONTRIBUTING.md\"><img src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat\" /></a>\n  <a href=\"./LICENSE\"><img src=\"https://img.shields.io/badge/licence-MIT-blue.svg\" alt=\"Licence MIT\"/></a>\n  <a href=\"./CODE_OF_CONDUCT.md\"><img src=\"https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg\" alt=\"Contributor Covenant\" /></a>\n  <br />\n  <a href=\"https://github.com/Codespeed-Software/styled-jsx-plugin-sass/actions/workflows/lint.yml\"><img src=\"https://github.com/Codespeed-Software/styled-jsx-plugin-sass/actions/workflows/lint.yml/badge.svg?branch=develop\" /></a>\n  <a href=\"https://github.com/Codespeed-Software/styled-jsx-plugin-sass/actions/workflows/test.yml\"><img src=\"https://github.com/Codespeed-Software/styled-jsx-plugin-sass/actions/workflows/test.yml/badge.svg?branch=develop\" /></a>\n  <br />\n  <a href=\"https://conventionalcommits.org\"><img src=\"https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\" alt=\"Conventional Commits\" /></a>\n  <a href=\"https://github.com/semantic-release/semantic-release\"><img src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\" alt=\"semantic-release\" /></a>\n  <a href=\"https://www.npmjs.com/package/@styled-jsx/plugin-sass\"><img src=\"https://img.shields.io/npm/v/@styled-jsx/plugin-sass.svg\" alt=\"npm version\"></a>\n</p>\n\n## 📜 About\n\nUse [Sass](https://sass-lang.com/) with [styled-jsx](https://github.com/vercel/styled-jsx) 💥\n\nThis repository was originally forked from [Codespeed-Software/styled-jsx-plugin-sass](https://github.com/Codespeed-Software/styled-jsx-plugin-sass) which was forked from [giuseppeg/styled-jsx-plugin-sass](https://github.com/giuseppeg/styled-jsx-plugin-sass) & it is not intended to take any credit but to improve the code from now on.\n\n## 💾 Install\n\nInstall the package and [sass](https://www.npmjs.com/package/sass) version you need (it is a peer dependency).\n\n```sh\nnpm install --save-dev sass @codespeed/styled-jsx-plugin-sass\n```\n\n## ⚙️ Usage\n\nAdd `@codespeed/styled-jsx-plugin-sass` to the `styled-jsx`'s `plugins` in your babel configuration (e.g. `.babelrc.json`):\n\n```json\n{\n  \"presets\": [\n    [\n      \"next/babel\",\n      {\n        \"styled-jsx\": {\n          \"plugins\": [\"@codespeed/styled-jsx-plugin-sass\"]\n        }\n      }\n    ]\n  ]\n}\n```\n\n## Sass options\n\nSass can be configured using `sassOptions`. This is useful for setting options such as `data` or `includePaths`, see all the available options in [Sass README](https://github.com/sass/node-sass#Options).\n\n```json\n{\n  \"presets\": [\n    [\n      \"next/babel\",\n      {\n        \"styled-jsx\": {\n          \"plugins\": [\n            [\n              \"@codespeed/styled-jsx-plugin-sass\",\n              {\n                \"sassOptions\": {\n                  \"includePaths\": [\"./styles\"],\n                  \"data\": \"$test-color: #ff0000\"\n                }\n              }\n            ]\n          ]\n        }\n      }\n    ]\n  ]\n}\n```\n\n## 💡 Contributing\n\nAnyone can help to improve the project, submit a Feature Request, a bug report or even correct a simple spelling mistake.\n\nThe steps to contribute can be found in the [CONTRIBUTING.md](./CONTRIBUTING.md) file.\n\n## 📄 License\n\n[MIT](./LICENSE)\n","readmeFilename":"README.md"}