{"id":15388070,"url":"https://github.com/calebdwilliams/postcss-plugin-reference-selectors","last_synced_at":"2025-04-04T21:13:39.299Z","repository":{"id":87705607,"uuid":"490094423","full_name":"calebdwilliams/postcss-plugin-reference-selectors","owner":"calebdwilliams","description":"PostCSS plugin for reference selectors","archived":false,"fork":false,"pushed_at":"2022-05-09T01:13:39.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-27T12:34:11.210Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/calebdwilliams.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-05-09T01:11:38.000Z","updated_at":"2022-05-09T01:13:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"a1996735-9cd8-4b6d-a834-5f3b81a1c4e1","html_url":"https://github.com/calebdwilliams/postcss-plugin-reference-selectors","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"196f35f081e3c4249a6398888eb2085473e75b59"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebdwilliams%2Fpostcss-plugin-reference-selectors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebdwilliams%2Fpostcss-plugin-reference-selectors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebdwilliams%2Fpostcss-plugin-reference-selectors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebdwilliams%2Fpostcss-plugin-reference-selectors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calebdwilliams","download_url":"https://codeload.github.com/calebdwilliams/postcss-plugin-reference-selectors/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247113927,"owners_count":20885837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T14:55:24.486Z","updated_at":"2025-04-04T21:13:39.274Z","avatar_url":"https://github.com/calebdwilliams.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# postcss-reference-selectors\n\n[PostCSS] plugin reference-selectors.\n\n[PostCSS]: https://github.com/postcss/postcss\n\n```css\n.foo {\n  /* Input example */\n}\n```\n\n```css\n.foo {\n  /* Output example */\n}\n```\n\n## Usage\n\n**Step 1:** Install plugin:\n\n```sh\nnpm install --save-dev postcss postcss-reference-selectors\n```\n\n**Step 2:** Check you project for existed PostCSS config: `postcss.config.js`\nin the project root, `\"postcss\"` section in `package.json`\nor `postcss` in bundle config.\n\nIf you do not use PostCSS, add it according to [official docs]\nand set this plugin in settings.\n\n**Step 3:** Add the plugin to plugins list:\n\n```diff\nmodule.exports = {\n  plugins: [\n+   require('postcss-reference-selectors'),\n    require('autoprefixer')\n  ]\n}\n```\n\n[official docs]: https://github.com/postcss/postcss#usage\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebdwilliams%2Fpostcss-plugin-reference-selectors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalebdwilliams%2Fpostcss-plugin-reference-selectors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebdwilliams%2Fpostcss-plugin-reference-selectors/lists"}