{"id":15521028,"url":"https://github.com/sloev/openpeeps-component","last_synced_at":"2026-02-08T00:33:51.156Z","repository":{"id":142330310,"uuid":"265966063","full_name":"sloev/openpeeps-component","owner":"sloev","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-29T08:23:44.000Z","size":3995,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-31T14:27:41.017Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sloev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-05-21T22:39:25.000Z","updated_at":"2020-05-23T09:15:29.000Z","dependencies_parsed_at":"2025-02-03T02:39:43.545Z","dependency_job_id":null,"html_url":"https://github.com/sloev/openpeeps-component","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sloev/openpeeps-component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloev%2Fopenpeeps-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloev%2Fopenpeeps-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloev%2Fopenpeeps-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloev%2Fopenpeeps-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sloev","download_url":"https://codeload.github.com/sloev/openpeeps-component/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloev%2Fopenpeeps-component/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29214394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T00:10:47.190Z","status":"ssl_error","status_checked_at":"2026-02-08T00:10:43.589Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-10-02T10:31:50.795Z","updated_at":"2026-02-08T00:33:51.143Z","avatar_url":"https://github.com/sloev.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"*Psst — looking for an app template? Go here --\u003e [sveltejs/template](https://github.com/sveltejs/template)*\n\n---\n\n# svelt-component-library-template\n\nA base for building shareable Svelte component library. Clone it with [degit](https://github.com/Rich-Harris/degit):\n\n```bash\nnpx degit nirmaoz/svelte-component-library-template my-new-component\ncd my-new-component\nnpm install # or yarn\n```\n\nYour component's source code lives in `src/Component.svelte`.\n\nYou can create a package that exports multiple components by adding them to the `src` directory and editing `src/index.js` to reexport them as named exports.\n\n## This template includes:\n\n* Svelte Component\n* Testing using svelte-testing-library + Jest\n* Storybook\n* Rollup, configured to build .js (umd), .min.js (iife), .mjs (es)\n\n## Setting up\n\n* Run `npm init` (or `yarn init`)\n* Replace this README with your own\n\n## Consuming components\n\nYour package.json has a `\"svelte\"` field pointing to `src/index.js`, which allows Svelte apps to import the source code directly, if they are using a bundler plugin like [rollup-plugin-svelte](https://github.com/sveltejs/rollup-plugin-svelte) or [svelte-loader](https://github.com/sveltejs/svelte-loader) (where [`resolve.mainFields`](https://webpack.js.org/configuration/resolve/#resolve-mainfields) in your webpack config includes `\"svelte\"`). **This is recommended.**\n\nFor everyone else, `npm run build` will bundle your component's source code into a plain JavaScript module (`dist/index.mjs`) and a UMD script (`dist/index.js`). This will happen automatically when you publish your component to npm, courtesy of the `prepublishOnly` hook in package.json.\n\n### Based on sveltejs/component-template\nI couldn't find an opinionated components library template to my liking, so I used [sveltejs/component-template](https://github.com/sveltejs/component-template) as base. And then I added minified build configuration using terser plugin + tests + storybook.\n\n### Testing\nComes with tests out of the box using [svelte-testing-library](https://github.com/testing-library/svelte-testing-library) + [Jest](https://github.com/facebook/jest).\n\nTo Run tests:\n```bash\nnpm test # or yarn\n```\n\n### Storybook\nTo serve development build:\n```bash\nnpm run storybook\n```\n\nTo build static storybook site (default output folder is /docs for easly sharing on github pages):\n```bash\nnpm run build-storybook\n```\n\nhttps://github.com/CeamKrier/react-peeps/blob/master/src/peeps/face/Angry.tsx","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsloev%2Fopenpeeps-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsloev%2Fopenpeeps-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsloev%2Fopenpeeps-component/lists"}