{"id":19540625,"url":"https://github.com/ngneat/lit-file-generator","last_synced_at":"2025-04-26T16:31:51.875Z","repository":{"id":57130672,"uuid":"458637753","full_name":"ngneat/lit-file-generator","owner":"ngneat","description":"🎁 A lit generator for a component, directive, and controller.","archived":false,"fork":false,"pushed_at":"2022-02-13T07:55:04.000Z","size":127,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-21T01:30:23.472Z","etag":null,"topics":["generator","lit","lit-html","webcomponents"],"latest_commit_sha":null,"homepage":"https://www.netbasal.com","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/ngneat.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}},"created_at":"2022-02-12T20:57:35.000Z","updated_at":"2024-08-28T21:06:00.000Z","dependencies_parsed_at":"2022-08-31T20:01:06.118Z","dependency_job_id":null,"html_url":"https://github.com/ngneat/lit-file-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngneat%2Flit-file-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngneat%2Flit-file-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngneat%2Flit-file-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngneat%2Flit-file-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ngneat","download_url":"https://codeload.github.com/ngneat/lit-file-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250806552,"owners_count":21490334,"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":["generator","lit","lit-html","webcomponents"],"created_at":"2024-11-11T03:05:13.253Z","updated_at":"2025-04-26T16:31:51.827Z","avatar_url":"https://github.com/ngneat.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🦄 Lit File Generator\n\nA lit generator for a component, directive, and controller.\n\n\u003chr\u003e\n\nInstall the library:\n\n```\nnpm i @ngneat/lit-file-generator -g\n\nlitgen\n```\n\nOr via `npx`:\n\n```\nnpx @ngneat/lit-file-generator litgen\nnpx @ngneat/lit-file-generator litgen component name\nnpx @ngneat/lit-file-generator litgen directive name\nnpx @ngneat/lit-file-generator litgen controller name\n```\n\n### Base Path:\n\nBy default, the directory prompt is set to the current directory.\n\nTo change it, add to the root `package.json` the following config:\n\n```json\n{\n  \"lit\": {\n   \"basePath\": \"./src/app/\"\n  }\n}\n```\n\nThe path should be relative to the `package.json`.\n\n### Component Prefix:\nThe default component selector prefix is `app`. You can change it by setting the `prefix` option:\n\n```json\n{\n  \"lit\": {\n   \"prefix\": \"lit\"\n  }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngneat%2Flit-file-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fngneat%2Flit-file-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngneat%2Flit-file-generator/lists"}