{"id":27062520,"url":"https://github.com/lixelv/npm-package-template","last_synced_at":"2026-05-11T07:43:13.993Z","repository":{"id":285420862,"uuid":"958077536","full_name":"lixelv/npm-package-template","owner":"lixelv","description":"Npm package template with integrated CI/CD on release","archived":false,"fork":false,"pushed_at":"2025-03-31T16:28:54.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T09:56:26.987Z","etag":null,"topics":["cicd","github-workflows","npm","npm-lib","svelte","svelte-lib"],"latest_commit_sha":null,"homepage":"","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/lixelv.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":"2025-03-31T15:53:47.000Z","updated_at":"2025-04-11T20:16:06.000Z","dependencies_parsed_at":"2025-03-31T17:37:12.283Z","dependency_job_id":null,"html_url":"https://github.com/lixelv/npm-package-template","commit_stats":null,"previous_names":["lixelv/npm-package-template"],"tags_count":2,"template":true,"template_full_name":null,"purl":"pkg:github/lixelv/npm-package-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lixelv%2Fnpm-package-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lixelv%2Fnpm-package-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lixelv%2Fnpm-package-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lixelv%2Fnpm-package-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lixelv","download_url":"https://codeload.github.com/lixelv/npm-package-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lixelv%2Fnpm-package-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264324674,"owners_count":23590934,"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":["cicd","github-workflows","npm","npm-lib","svelte","svelte-lib"],"created_at":"2025-04-05T15:17:33.260Z","updated_at":"2026-05-11T07:43:08.971Z","avatar_url":"https://github.com/lixelv.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npm package template\n\n[![GitHub Workflow Status](https://img.shields.io/badge/CI/CD-Automated-success?style=flat-square\u0026logo=github)](https://github.com/features/actions)\n[![Svelte](https://img.shields.io/badge/Svelte-Ready-FF3E00?style=flat-square\u0026logo=svelte\u0026logoColor=white)](https://svelte.dev/)\n[![npm](https://img.shields.io/badge/npm-package-CB3837?style=flat-square\u0026logo=npm)](https://www.npmjs.com/)\n\nA streamlined template for creating npm packages with automated CI/CD pipeline. Built with Svelte but can be used for any JavaScript/TypeScript package.\n\n## Features\n\n- Automated publishing to npm on GitHub releases\n- TypeScript support out of the box\n- Svelte integration (optional for your package consumers)\n- Pre-configured testing with Vitest\n- TailwindCSS for styling development environment\n\n## Setup Guide\n\n1. **Create a new repository** from this template\n\n2. **Configure your package**\n   - Update `package.json` with your package name\n   - Version is automatically set from GitHub release tags\n   - Modify dependencies as needed for your project\n\n3. **Set up CI/CD**\n   - Generate an npm token: [Get npm token](https://www.npmjs.com/settings/\u003cYOUR_NPM_USERNAME\u003e/tokens)\n   - Add token as `NPM_TOKEN` in GitHub secrets: [Create GitHub secret](https://github.com/\u003cYOUR_GITHUB_USERNAME\u003e/\u003cYOUR_GITHUB_REPOSITORY\u003e/settings/secrets/actions)\n   - Replace `\u003cYOUR_NPM_USERNAME\u003e`, `\u003cYOUR_GITHUB_USERNAME\u003e`, and `\u003cYOUR_GITHUB_REPOSITORY\u003e` with your actual values\n\n4. **Release your package**\n   - Create a GitHub release with a semantic version tag (e.g., `v1.0.0`)\n   - The workflow automatically builds and publishes your package to npm\n\n---\n\n\u003cdiv align=\"center\"\u003e\n  \u003ccode\u003enpm install your-package-name\u003c/code\u003e\n\u003c/div\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flixelv%2Fnpm-package-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flixelv%2Fnpm-package-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flixelv%2Fnpm-package-template/lists"}