{"id":20420361,"url":"https://github.com/deepraining/js-lib-starter","last_synced_at":"2026-04-18T12:35:08.461Z","repository":{"id":135801599,"uuid":"173945605","full_name":"deepraining/js-lib-starter","owner":"deepraining","description":"一个用于快速创建 JavaScript 组件库的模板脚手架，使用 Rollup 构建. A boilerplate for creating a JavaScript library, using Rollup.","archived":false,"fork":false,"pushed_at":"2019-07-30T02:13:11.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-15T14:35:57.219Z","etag":null,"topics":["boilerplate","jest","lib","library","rollup","starter"],"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/deepraining.png","metadata":{"files":{"readme":"README.en.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":"2019-03-05T12:49:54.000Z","updated_at":"2019-07-30T02:13:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"1c7b97df-3dad-43eb-b41d-da73349c7a43","html_url":"https://github.com/deepraining/js-lib-starter","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/deepraining%2Fjs-lib-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fjs-lib-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fjs-lib-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fjs-lib-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepraining","download_url":"https://codeload.github.com/deepraining/js-lib-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241963878,"owners_count":20049918,"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":["boilerplate","jest","lib","library","rollup","starter"],"created_at":"2024-11-15T06:42:34.360Z","updated_at":"2026-04-18T12:35:08.422Z","avatar_url":"https://github.com/deepraining.png","language":"JavaScript","readme":"# js-lib-starter\n\n[中文文档](./README.md)\n\nA boilerplate for creating a JavaScript library, using Rollup.\n\n## Getting started\n\n```\ngit clone https://github.com/senntyou/js-lib-starter.git --depth=1\n\ncd js-lib-starter\n\nnpm install             # install dependencies\n\nnpm run build           # build distribution files\n```\n\n## Features\n\n- [Flow](https://flow.org/) syntax, [jest](https://jestjs.io/en/) test support.\n\n## To build a library only for Node.js\n\nIf you want to build a library only for Node.js, you can make it as follows:\n\n- Remove existed `rollup.config.js` file, and rename `rollup.node.config.js` to `rollup.config.js`.\n- Remove `module, umd:main` fields of `package.json`.\n\n## Notes\n\n- This repo is only for pure JavaScript library.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepraining%2Fjs-lib-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepraining%2Fjs-lib-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepraining%2Fjs-lib-starter/lists"}