{"id":23024444,"url":"https://github.com/thipages/jsbuild","last_synced_at":"2026-04-13T18:02:14.577Z","repository":{"id":57068887,"uuid":"343943586","full_name":"thipages/jsbuild","owner":"thipages","description":"Automate js build","archived":false,"fork":false,"pushed_at":"2021-03-08T07:47:13.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-28T11:25:39.203Z","etag":null,"topics":["automation","babel","javascript","php","rollup","terser"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/thipages.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}},"created_at":"2021-03-02T23:38:34.000Z","updated_at":"2021-03-08T07:47:15.000Z","dependencies_parsed_at":"2022-08-24T07:51:12.740Z","dependency_job_id":null,"html_url":"https://github.com/thipages/jsbuild","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/thipages/jsbuild","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thipages%2Fjsbuild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thipages%2Fjsbuild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thipages%2Fjsbuild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thipages%2Fjsbuild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thipages","download_url":"https://codeload.github.com/thipages/jsbuild/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thipages%2Fjsbuild/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31764317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: 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":["automation","babel","javascript","php","rollup","terser"],"created_at":"2024-12-15T13:18:43.072Z","updated_at":"2026-04-13T18:02:14.562Z","avatar_url":"https://github.com/thipages.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jsbuild\nAutomate js build\n\n## installation\n_composer require thipages/jsbuild_\n\n\n## Usage\n\n1. Create a _jsbuild.json_ file by hand or with this helper\n\n```php\nuse thipages\\jsbuild\\JSBuild;\nrequire('./vendor/autotload.php');\nJSBuild::writeBuildModel();\n```\nor execute _php -r \"require './vendor/autoload.php';thipages\\jsbuild\\JSBuild::writeBuildModel();\"_\n\n2. Create rollup config files folder and _package.json_ from a _jsbuild.json_ file \n\n```php\nuse thipages\\jsbuild\\JSBuild;\nrequire('./vendor/autotload.php');\n$builder=new JSBuild();\n$builder-\u003ewriteBuild();\n```\n\n3. update _package.json_ dependencies if any\n\n4. Create library entry point as _./esm/index.js_\n   \n5. execute _npm install_\n\n6. execute _npm run build_\n   \nThis will create three root files\n- index.js (esm)\n- index.min.js (esm minified)\n- min.js (iife minified)\n\nNote : php script (point 2) can not be reused (no update process yet)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthipages%2Fjsbuild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthipages%2Fjsbuild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthipages%2Fjsbuild/lists"}