{"id":16186185,"url":"https://github.com/zenflow/zenflow-build-js-lib","last_synced_at":"2026-01-19T06:33:52.130Z","repository":{"id":57405490,"uuid":"125070345","full_name":"zenflow/zenflow-build-js-lib","owner":"zenflow","description":"A zero-config opinionated and awesome build system for portable js libs","archived":false,"fork":false,"pushed_at":"2020-06-02T18:11:58.000Z","size":237,"stargazers_count":1,"open_issues_count":29,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-23T02:48:01.466Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zenflow.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}},"created_at":"2018-03-13T15:08:15.000Z","updated_at":"2018-04-16T05:45:43.000Z","dependencies_parsed_at":"2022-09-17T17:51:30.437Z","dependency_job_id":null,"html_url":"https://github.com/zenflow/zenflow-build-js-lib","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/zenflow/zenflow-build-js-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenflow%2Fzenflow-build-js-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenflow%2Fzenflow-build-js-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenflow%2Fzenflow-build-js-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenflow%2Fzenflow-build-js-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zenflow","download_url":"https://codeload.github.com/zenflow/zenflow-build-js-lib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenflow%2Fzenflow-build-js-lib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28562405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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-10T07:17:26.051Z","updated_at":"2026-01-19T06:33:52.116Z","avatar_url":"https://github.com/zenflow.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zenflow-build-js-lib\n\nA minimal-config opinionated and awesome build system for portable js libs\n\n[![Build Status](https://travis-ci.org/zenflow/zenflow-build-js-lib.svg?branch=master)](https://travis-ci.org/zenflow/zenflow-build-js-lib)\n[![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://github.com/facebook/jest)\n[![npm version](https://badge.fury.io/js/zenflow-build-js-lib.svg)](https://www.npmjs.com/package/zenflow-build-js-lib)\n[![Dependencies Status](https://david-dm.org/zenflow/zenflow-build-js-lib.svg)](https://david-dm.org/zenflow/zenflow-build-js-lib)\n[![Greenkeeper badge](https://badges.greenkeeper.io/zenflow/zenflow-build-js-lib.svg)](https://greenkeeper.io/)\n[![semantic-release badge](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/zenflow/zenflow-build-js-lib/blob/master/CHANGELOG.md)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Features\n\n- convention over configuration\n- rollup under the hood\n- babel 6, with whatever presets and plugins you need\n- cjs es \u0026 umd formats\n- pretty banners with package name \u0026 version, filename, homepage \u0026 license\n\n## Conventions\n\n- entry point will be `src/index.js`\n- externals (non-bundled imports) will be `\"dependencies\"` and `\"peerDependencies\"`\n- package `\"main\"` refers to cjs format file (optional)\n- package `\"module\"` refers to es format file (optional)\n- package `\"browser\"` refers to umd format file (optional)\n- global export name will be camelized package name\n- global import names will be camelized package names *unless* specified in `pkg.zenflowConfig.build.globals` option in `package.json`\n\n## CLI\n\n`zenflow-build-js-lib [--prod]`\n\n- `--prod` - \"production mode\" - produce sourcemaps and additional minified versions of all js files\n\n## Configs\n\nThis project strives to eliminate as much configuration as possible, but sometimes it's needed.\n\nIn your `package.json`, at `pkg.zenflowConfig.build`, add any of the following options:\n\n- `\"globals\"` - Object mapping external package names to their global export names (e.g. `{\"react-dom\": \"ReactDOM\"}`)\n\n## Example\n\npackage.json\n\n```json\n{\n  \"name\": \"example\",\n  \"version\": \"1.0.0\",\n  \"main\": \"dist/example.cjs.js\",\n  \"module\": \"dist/example.es.js\",\n  \"browser\": \"dist/example.umd.js\",\n  \"files\": [\n    \"dist/**/*\"\n  ],\n  \"homepage\": \"HOMEPAGE\",\n  \"license\": \"LICENSE\",\n  \"scripts\": {\n    \"build\": \"zenflow-build-js-lib --prod\"\n  },\n  \"peerDependencies\": {\n    \"react\": \"^16.0.0\",\n    \"react-dom\": \"^16.0.0\"\n  },\n  \"devDependencies\": {\n    \"zenflow-build-js-lib\": \"^1.0.0\"\n  },\n  \"zenflowConfig\": {\n    \"build\": {\n      \"globals\": {\n        \"react\": \"React\",\n        \"react-dom\": \"ReactDOM\"\n      }\n    }\n  }\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenflow%2Fzenflow-build-js-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzenflow%2Fzenflow-build-js-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenflow%2Fzenflow-build-js-lib/lists"}