{"id":15365855,"url":"https://github.com/ryouaki/react-less-watcher","last_synced_at":"2025-07-18T19:33:19.243Z","repository":{"id":57333890,"uuid":"122696271","full_name":"ryouaki/react-less-watcher","owner":"ryouaki","description":"A tool for help create-react-app work with less","archived":false,"fork":false,"pushed_at":"2023-07-08T00:10:28.000Z","size":91,"stargazers_count":7,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-17T14:22:26.846Z","etag":null,"topics":["chokidar","create-react-app","css","less","react","watcher"],"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/ryouaki.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":"2018-02-24T02:46:45.000Z","updated_at":"2020-08-03T01:48:10.000Z","dependencies_parsed_at":"2024-06-21T13:12:00.875Z","dependency_job_id":null,"html_url":"https://github.com/ryouaki/react-less-watcher","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":0.5,"last_synced_commit":"40c65ce3bc088611408656439781f08f9d289d82"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryouaki/react-less-watcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryouaki%2Freact-less-watcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryouaki%2Freact-less-watcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryouaki%2Freact-less-watcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryouaki%2Freact-less-watcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryouaki","download_url":"https://codeload.github.com/ryouaki/react-less-watcher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryouaki%2Freact-less-watcher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265653910,"owners_count":23805888,"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":["chokidar","create-react-app","css","less","react","watcher"],"created_at":"2024-10-01T13:16:29.733Z","updated_at":"2025-07-18T19:33:19.213Z","avatar_url":"https://github.com/ryouaki.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![npm downloads](https://img.shields.io/npm/dm/react-less-watcher.svg?style=flat-square)](http://npm-stat.com/charts.html?package=react-less-watcher)\n\n# react-less-watcher\nA tool for help create-react-app work with less\n\n# Description\nIt is only a simple tool for compile less to css. BTW, it not only work with create-react-app also can work with command line .\u003cbr/\u003e\n\nWhen you work with it, it will create a css file at the same directory of less, and with the same name, so you import the css file in your jsx file is ok.\n\n```\n  |-src\n     |-main.less\n     |-main.css\n```\n\n```jsx\n  import './main.css';\n  ...\n```\n\n**Note** : It will takes some time to compile the less file to css file, so you'd better to create a less file first, and then import the css file or you will get a error.\n\n# Usage\n\n## install\n```\n  $ npm install -save react-less-watcher\n```\n\n## package.json\n```\n  scripts: {\n    \"watch-less\": \"react-less-watcher -d src\",\n    \"start\": \"react-scripts start\u0026npm run watch-less\"\n  }\n```\n\n# Changed\n- 2018-02-27 bug fix for does not create new css file when add a empty less file\n- 2018-02-24 1.0.0 Released\n\n# License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryouaki%2Freact-less-watcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryouaki%2Freact-less-watcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryouaki%2Freact-less-watcher/lists"}