{"id":16925159,"url":"https://github.com/hiroppy/babel-init","last_synced_at":"2026-05-04T16:33:03.135Z","repository":{"id":66361337,"uuid":"77406018","full_name":"hiroppy/babel-init","owner":"hiroppy","description":"Setup .babelrc using command.","archived":false,"fork":false,"pushed_at":"2020-08-17T02:31:34.000Z","size":50,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T01:28:41.812Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/hiroppy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-26T20:43:39.000Z","updated_at":"2018-11-14T16:53:16.000Z","dependencies_parsed_at":"2023-02-22T12:46:14.815Z","dependency_job_id":null,"html_url":"https://github.com/hiroppy/babel-init","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hiroppy/babel-init","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Fbabel-init","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Fbabel-init/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Fbabel-init/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Fbabel-init/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiroppy","download_url":"https://codeload.github.com/hiroppy/babel-init/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Fbabel-init/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32615490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"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":[],"created_at":"2024-10-13T20:08:57.436Z","updated_at":"2026-05-04T16:33:03.112Z","avatar_url":"https://github.com/hiroppy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# babel-init\n\n[![Build Status](https://travis-ci.org/abouthiroppy/babel-init.svg?branch=master)](https://travis-ci.org/abouthiroppy/babel-init)\n\u003c!-- codecov https://codecov.io/gh --\u003e\n\u003c!-- npm version badge: https://badge.fury.io/ --\u003e\n\nSetup `.babelrc` using command.\n\n## Install\n```sh\n$ npm install -g babel-init\n```\n\n## Usage\n```sh\n$ npm init --yes #if you havn't made package.json\n$ babel-init\n\nSelect presets and plugins!\n```\n![](./images/img1.png)\n\nPlugin List: https://babeljs.io/docs/plugins/\n\n### output\n\n```sh\n? Select presets latest, stage-0\n? Select plugins syntax-flow and transform-flow-strip-types\n```\n`.babelrc`\n```json\n{\n  \"env\": {},\n  \"ignore\": [],\n  \"plugins\": [\n    \"syntax-flow\",\n    \"transform-flow-strip-types\"\n  ],\n  \"presets\": [\n    \"latest\",\n    \"stage-0\"\n  ]\n}\n```\n\n## Customize\n### .babelinitrc\nYou can use `.babelinitrc`.  \nYou put it on home or project root directory.  \nbabel-init read this files and creating the select box.\n\n```json\n{\n  \"presets\": [],\n  \"plugins\": []\n}\n```\n\nThe following is a sample file.\n```json\n{\n  \"presets\": [],\n  \"plugins\": [\n    {\n      \"name\": \"syntax-flow and transform-flow-strip-types\",\n      \"value\": \"syntax-flow,transform-flow-strip-types\"\n    },\n    \"lodash\",\n    \"transform-runtime\"\n  ]\n}\n```\n`name` is the words displayed in the select box.  \n`value` is an installed package name. (same meaning as only string in array)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroppy%2Fbabel-init","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiroppy%2Fbabel-init","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroppy%2Fbabel-init/lists"}