{"id":18780370,"url":"https://github.com/karan/generator-customelement","last_synced_at":"2025-04-10T23:42:00.416Z","repository":{"id":57246845,"uuid":"19967319","full_name":"karan/generator-customelement","owner":"karan","description":"A Yeoman generator for scaffolding a Polymer custom element the right way","archived":false,"fork":false,"pushed_at":"2014-07-03T15:03:38.000Z","size":270,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T23:29:49.588Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/karan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-20T04:12:28.000Z","updated_at":"2025-02-01T17:03:33.000Z","dependencies_parsed_at":"2022-08-24T16:50:20.620Z","dependency_job_id":null,"html_url":"https://github.com/karan/generator-customelement","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karan%2Fgenerator-customelement","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karan%2Fgenerator-customelement/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karan%2Fgenerator-customelement/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karan%2Fgenerator-customelement/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karan","download_url":"https://codeload.github.com/karan/generator-customelement/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247887330,"owners_count":21012982,"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-11-07T20:26:07.482Z","updated_at":"2025-04-10T23:42:00.396Z","avatar_url":"https://github.com/karan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# generator-customelement\n\nScaffolding a Polymer custom element the right way - based on official [Creating reusable elements](http://www.polymer-project.org/docs/start/reusableelements.html) guide.\n\n![](http://i.imgur.com/zYCmQ14.png)\n\nTo install generator-customelement from npm, run:\n\n```bash\n$ npm install -g generator-customelement\n```\n\nFinally, initiate the generator:\n\n```bash\n$ yo customelement\n```\n\nWhen ready to deploy to Github, push the `master` branch, then run the `update_docs.sh` script.\n\n### Workflow\n\n```bash\n$ mkdir x-meme \u0026\u0026 cd $_   // make project directory and cd into it\n$ yo customelement        // scaffold the element\n```\n\nThis gives the following directory structure:\n\n![](http://i.imgur.com/OouxRH7.png)\n\nThe outer `x-meme` directory is where you should start your development server, and then browse to `localhost:8000/x-meme` in your web browser.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaran%2Fgenerator-customelement","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaran%2Fgenerator-customelement","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaran%2Fgenerator-customelement/lists"}