{"id":13446991,"url":"https://github.com/babel/babel-sublime","last_synced_at":"2025-05-14T22:09:42.447Z","repository":{"id":25673307,"uuid":"29109209","full_name":"babel/babel-sublime","owner":"babel","description":"Syntax definitions for ES6 JavaScript with React JSX extensions.","archived":false,"fork":false,"pushed_at":"2024-04-30T10:01:46.000Z","size":1514,"stargazers_count":3255,"open_issues_count":6,"forks_count":168,"subscribers_count":64,"default_branch":"master","last_synced_at":"2025-05-08T01:31:05.283Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://babeljs.io/","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/babel.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":"support/Comments.tmPreferences","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["babel"],"open_collective":"babel"}},"created_at":"2015-01-11T22:55:01.000Z","updated_at":"2025-04-26T15:36:39.000Z","dependencies_parsed_at":"2024-11-06T08:30:01.140Z","dependency_job_id":"7e700b8e-1bf1-47ec-9a7f-cec01ef6e7ef","html_url":"https://github.com/babel/babel-sublime","commit_stats":{"total_commits":253,"total_committers":18,"mean_commits":"14.055555555555555","dds":"0.21739130434782605","last_synced_commit":"2b3608cd8b555e3e16df5585e11543085658afbd"},"previous_names":[],"tags_count":93,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babel%2Fbabel-sublime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babel%2Fbabel-sublime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babel%2Fbabel-sublime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babel%2Fbabel-sublime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/babel","download_url":"https://codeload.github.com/babel/babel-sublime/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253728026,"owners_count":21954345,"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-07-31T05:01:05.177Z","updated_at":"2025-05-14T22:09:37.432Z","avatar_url":"https://github.com/babel.png","language":"JavaScript","funding_links":["https://github.com/sponsors/babel","https://opencollective.com/babel"],"categories":["JavaScript","Editors"],"sub_categories":[],"readme":"# babel-sublime\n\nLanguage definition for [modern JavaScript](http://kangax.github.io/compat-table/es2016plus/) with [JSX syntax](http://facebook.github.io/react/docs/jsx-in-depth.html), [Flow typing](https://flow.org/), and [Styled Components](https://styled-components.com/).\n\n## Installation\n\nFind it as [**Babel**](https://packagecontrol.io/packages/Babel) through [Package Control](https://packagecontrol.io/).\n\n#### Setting as the default syntax\n\nTo set it as the default syntax for a particular extension:\n\n1. Open a file with that extension,\n2. From the `View` menu, select `Syntax` → `Open all with current extension as…` → `Babel` → `JavaScript (Babel)`\n3. Repeat this for each extension (e.g.: `.js` and `.jsx`).\n\n#### Setting a Color Scheme\n\n`Babel` comes bundled with `Next` from [Benvie/JavaScriptNext.tmLanguage](https://github.com/Benvie/JavaScriptNext.tmLanguage). From the command palette, select `UI: Select Color Scheme` and select `Next`.\n\n## Screenshots\n\n![babel-sublime-vs-built-in-jsx](screenshots/compare-builtin-jsx@2x.png)\n\n## Snippets\n\nFind them separately at [babel/babel-sublime-snippets](https://github.com/babel/babel-sublime-snippets) or as [**Babel Snippets**](https://packagecontrol.io/packages/Babel%20Snippets) through [Package Control](https://packagecontrol.io/).\n\n## About\n\nUnder the hood, `babel-sublime`'s syntax definition is built using [JS Custom](https://github.com/Thom1729/Sublime-JS-Custom). JS Custom is based on Sublime's [core JavaScript syntax](https://github.com/sublimehq/Packages), which is in turn descended from [Benvie/JavaScriptNext.tmLanguage](https://github.com/Benvie/JavaScriptNext.tmLanguage). Special thanks go to [@jgebhardt](https://github.com/jgebhardt) and [@zpao](https://github.com/zpao).\n\n## Contributing\n\nThe `JavaScript (Babel).sublime-syntax` file itself is generated by JS Custom and should not be manually modified — any bug fixes or enhancements to the syntax itself should go through [JS Custom](https://github.com/Thom1729/Sublime-JS-Custom).\n\nIf you modify the commenting rules or Next theme, make sure to do so by editing the appropriate `YAML-tmPreferences` or `YAML-tmTheme` file and converting that file using [PackageDev](https://github.com/SublimeText/PackageDev). Then, commit both the source (YAML) file and the converted (XML) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabel%2Fbabel-sublime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabel%2Fbabel-sublime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabel%2Fbabel-sublime/lists"}