{"id":13789451,"url":"https://github.com/umijs/father","last_synced_at":"2025-05-12T15:25:44.828Z","repository":{"id":38239103,"uuid":"189555434","full_name":"umijs/father","owner":"umijs","description":"NPM package development tool","archived":false,"fork":false,"pushed_at":"2025-05-05T08:10:08.000Z","size":6516,"stargazers_count":2199,"open_issues_count":52,"forks_count":283,"subscribers_count":46,"default_branch":"master","last_synced_at":"2025-05-09T13:49:38.907Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/umijs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2019-05-31T08:13:31.000Z","updated_at":"2025-05-08T07:18:57.000Z","dependencies_parsed_at":"2024-04-17T09:48:00.958Z","dependency_job_id":"d7063759-e529-4cfa-900d-b4b324da9e50","html_url":"https://github.com/umijs/father","commit_stats":{"total_commits":648,"total_committers":72,"mean_commits":9.0,"dds":0.5092592592592593,"last_synced_commit":"e537130aa545d3fa68e838f4dea1611f3bd025ac"},"previous_names":[],"tags_count":223,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umijs%2Ffather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umijs%2Ffather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umijs%2Ffather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umijs%2Ffather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umijs","download_url":"https://codeload.github.com/umijs/father/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253313377,"owners_count":21888822,"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-08-03T22:00:22.797Z","updated_at":"2025-05-12T15:25:44.797Z","avatar_url":"https://github.com/umijs.png","language":"TypeScript","funding_links":[],"categories":["打包工具","others","TypeScript"],"sub_categories":[],"readme":"# father\n\n[![version](https://badgen.net/npm/v/father)](https://www.npmjs.com/package/father) [![codecov](https://codecov.io/gh/umijs/father/branch/master/graph/badge.svg)](https://codecov.io/gh/umijs/father) [![GitHub Actions status](https://github.com/umijs/father/workflows/CI/badge.svg)](https://github.com/umijs/father)\n\nfather 是一款 NPM 包研发工具，能够帮助开发者更高效、高质量地研发 NPM 包、生成构建产物、再完成发布。它主要具备以下特性：\n\n- ⚔️ **双模式构建：** 支持 Bundless 及 Bundle 两种构建模式，ESModule 及 CommonJS 产物使用 Bundless 模式，UMD 产物使用 Bundle 模式\n- 🎛 **多构建核心：** Bundle 模式使用 Webpack 作为构建核心，Bundless 模式支持 esbuild、Babel 及 SWC 三种构建核心，可通过配置自由切换\n- 🔖 **类型生成：** 无论是源码构建还是依赖预打包，都支持为 TypeScript 模块生成 `.d.ts` 类型定义\n- 🚀 **持久缓存：** 所有产物类型均支持持久缓存，二次构建或增量构建只需『嗖』的一下\n- 🩺 **项目体检：** 对 NPM 包研发常见误区做检查，让每一次发布都更加稳健\n- 🏗 **微生成器：** 为项目追加生成常见的工程化能力，例如使用 jest 编写测试\n- 📦 **依赖预打包：** 开箱即用的依赖预打包能力，帮助 Node.js 框架/库提升稳定性、不受上游依赖更新影响（实验性）\n\n访问 [指南](./docs/guide/index.md) 及 [配置项](./docs/config.md) 了解更多。\n\n如果你在寻找旧版 father/father-build 的文档，请切换到 [2.x 分支](https://github.com/umijs/father/tree/2.x)，推荐参考 [升级指南](./docs/guide/upgrading.md) 升级到 father 4 以获得更好的研发体验。\n\n## 贡献指南\n\n查看 [CONTRIBUTING](./CONTRIBUTING.md) 文档。\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumijs%2Ffather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumijs%2Ffather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumijs%2Ffather/lists"}