{"id":27968755,"url":"https://github.com/octoprint/pre-commit-lessc","last_synced_at":"2025-05-07T21:07:03.454Z","repository":{"id":287152508,"uuid":"859774240","full_name":"OctoPrint/pre-commit-lessc","owner":"OctoPrint","description":"pre-commit compatible wrapper for lessc","archived":false,"fork":false,"pushed_at":"2025-04-10T07:33:57.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T21:07:00.560Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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/OctoPrint.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-19T08:57:40.000Z","updated_at":"2025-04-10T07:33:33.000Z","dependencies_parsed_at":"2025-04-10T08:37:52.843Z","dependency_job_id":"c23c9474-4962-4772-abb3-a66458b297bb","html_url":"https://github.com/OctoPrint/pre-commit-lessc","commit_stats":null,"previous_names":["octoprint/pre-commit-lessc"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OctoPrint%2Fpre-commit-lessc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OctoPrint%2Fpre-commit-lessc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OctoPrint%2Fpre-commit-lessc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OctoPrint%2Fpre-commit-lessc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OctoPrint","download_url":"https://codeload.github.com/OctoPrint/pre-commit-lessc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954420,"owners_count":21830904,"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":"2025-05-07T21:07:02.949Z","updated_at":"2025-05-07T21:07:03.442Z","avatar_url":"https://github.com/OctoPrint.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pre-commit-lessc\n\npre-commit compatible wrapper for lessc.\n\nWill turn a list of attached `.less` files into single calls of `lessc` with `source` and `target` files instead.\n\nThe relative output path for the `target` is generated from the `less` path and can be controlled through the \n`--wrapper-output` command line option, see below.\n\nThe version of the hook tracks the version of the installed `less` dependency, e.g. `4.2.0` tracks `lessc: ^4.2.0`.\n\n## Usage\n\n``` yaml\n  - repo: https://github.com/OctoPrint/pre-commit-lessc\n    rev: 4.2.0\n    hooks:\n      - id: lessc\n        args: [\"--wrapper-quiet\", \"--clean-css=--s1 --advanced --compatibility=ie8\"]\n        additional_dependencies: [\"less-plugin-clean-css\"]\n        files: ^(src/octoprint/static/less/(octoprint|recovery|login)\\.less|src/octoprint/plugins/.*/static/less/.*\\.less$)\n```\n\n### Available command line options\n\nThe wrapper's command line options are all prefixed with `--wrapper-`. Anything not prefixed that way will be \nforwarded directly to the `lessc` call.\n\n- `--wrapper-output`: Relative output for the generated css files, defaults to `../css`\n- `--wrapper-quiet`: Suppress logging (unless there's a runtime error)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctoprint%2Fpre-commit-lessc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foctoprint%2Fpre-commit-lessc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctoprint%2Fpre-commit-lessc/lists"}