{"id":17750665,"url":"https://github.com/steelbrain/babel-cli","last_synced_at":"2026-03-12T14:39:20.620Z","repository":{"id":27686868,"uuid":"114919009","full_name":"steelbrain/babel-cli","owner":"steelbrain","description":"A smarter babel-cli","archived":false,"fork":false,"pushed_at":"2023-03-05T13:28:56.000Z","size":679,"stargazers_count":5,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-19T23:55:31.243Z","etag":null,"topics":["babel","javascript"],"latest_commit_sha":null,"homepage":null,"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/steelbrain.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-12-20T18:35:25.000Z","updated_at":"2021-10-07T12:49:48.000Z","dependencies_parsed_at":"2024-06-18T22:38:36.671Z","dependency_job_id":"e139b553-4a6f-471b-856e-4aa772e58e4f","html_url":"https://github.com/steelbrain/babel-cli","commit_stats":null,"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/steelbrain/babel-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steelbrain%2Fbabel-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steelbrain%2Fbabel-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steelbrain%2Fbabel-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steelbrain%2Fbabel-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steelbrain","download_url":"https://codeload.github.com/steelbrain/babel-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steelbrain%2Fbabel-cli/sbom","scorecard":{"id":850131,"data":{"date":"2025-08-11","repo":{"name":"github.com/steelbrain/babel-cli","commit":"f8412f562ad30217e23f236232b9b50fd581c8f6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.1,"checks":[{"name":"Code-Review","score":1,"reason":"Found 2/17 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"10 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T22:17:08.898Z","repository_id":27686868,"created_at":"2025-08-23T22:17:08.898Z","updated_at":"2025-08-23T22:17:08.898Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30428514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:34:45.044Z","status":"ssl_error","status_checked_at":"2026-03-12T14:09:33.793Z","response_time":114,"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":["babel","javascript"],"created_at":"2024-10-26T12:23:11.215Z","updated_at":"2026-03-12T14:39:20.601Z","avatar_url":"https://github.com/steelbrain.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SB-Babel-CLI\n\nA smarter babel-cli. Supports caching and removing extra files from output directories.\n\nAlso supports running apps like nodemon, with `--execute/-x`, `--execute-delay`\n\n**Note:** For Babel 6, see [0.1.x branch](https://github.com/steelbrain/babel-cli/tree/0.1.x)\n\n**Note:** For v3, see [v3 branch](https://github.com/steelbrain/babel-cli/tree/v3)\n\n### Installation\n\n```\nnpm install --save-dev sb-babel-cli\n# OR Use with npx directory:\nnpx sb-babel-cli [options] \u003csource directory\u003e\n```\n\n### Usage\n\n```\nUsage: sb-babel-cli [options] \u003csource directory\u003e\n\nA smarter babel-cli\n\nOptions:\n  -V, --version                        output the version number\n  -w, --watch                          Watch files for changes\n  --root \u003cdirectory\u003e                   Root directory for compilation; where presets and CLI config is resolved from (defaults to cwd)\n  --cache-directory \u003cdirectory\u003e        Directory to store the cache \".sb-babel-cli\" (defaults to homedir)\n  --ignored \u003cglob\u003e                     Ignored files and directories that match the given glob (You can specify --ignored \u003cglob\u003e multiple times)\n  --ignored-for-restart \u003cglob\u003e         These files are transpiled, but do not cause restart (You can specify --ignored-for-restart \u003cglob\u003e multiple times)\n  --source-maps [true|false|inline]    Generate source maps for transpiled files\n  --reset-cache                        Re-transpile all files ignoring cache\n  --keep-extra-files                   Do NOT delete extra files in the output directory\n  -o, --output-directory \u003cdirectory\u003e   Output directory to write transpiled files to\n  --output-file-extension \u003cextension\u003e  Output file extension (defaults to .js)\n  -x, --execute \u003centryFile\u003e            Relative path of file to execute (only supported in watcher mode)\n  --execute-delay \u003cdelay\u003e              Delay in ms in between restarts of executed file (defaults to 1000ms)\n  --extensions \u003cexts\u003e                  Comma separated extensions to process through the CLI (defaults to .js)\n  --no-load-config                     Disables loading of \"sb-config-file\" from package.json (in --root)\n  --print-config                       Print the config being used (for debugging only)\n  --silent                             Disable log outputs\n  --debug-port \u003carg\u003e                   Passthrough arg for Node.js runtime for programs executed through -x\n  --inspect-port \u003carg\u003e                 Passthrough arg for Node.js runtime for programs executed through -x\n  --inspect                            Passthrough arg for Node.js runtime for programs executed through -x\n  --inspect-brk                        Passthrough arg for Node.js runtime for programs executed through -x\n  --inspect-publish-uid \u003carg\u003e          Passthrough arg for Node.js runtime for programs executed through -x\n  --enable-source-maps                 Passthrough arg for Node.js runtime for programs executed through -x\n  -h, --help                           display help for command\n\nArguments after -- will be passed as-are to programs executed through -x\n```\n\n### Configuration\n\nIn addition to specifying options in CLI, you can also add them to your `package.json`s (located through `--root` or cwd)\nwith the key `sb-babel-cli`. Here are the supported options\n\n```typescript\ninterface Config {\n  outputDirectory: string\n  cacheDirectory: string\n\n  outputFileExtension: string\n  watch: boolean\n  ignored: string[]\n  ignoredForRestart: string[]\n  sourceMaps: boolean | 'inline'\n  resetCache: boolean\n  keepExtraFiles: boolean\n  execute: string\n  executeDelay: number\n  extensions: string[]\n  printConfig: boolean\n  silent: boolean\n  nodeArgs: string[]\n  programArgs: string[]\n}\n```\n\nFor example, for Typescript you can use the following configuration\n\n```json5\n// package.json\n{\n  \"name\": \"...\",\n  // ...\n  \"sb-babel-cli\": {\n    \"extensions\": [\".js\", \".ts\", \".tsx\"]\n  }\n}\n```\n\n### Examples\n\n```\n# To compile contents of src to lib directory\n$ sb-babel-cli src -o lib\n# To compile contents of src to lib directory and execute lib/server\n$ sb-babel-cli src -o lib -x lib/server\n```\n\n### License\n\nThis project is licensed under the terms of the MIT License. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteelbrain%2Fbabel-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteelbrain%2Fbabel-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteelbrain%2Fbabel-cli/lists"}