{"id":18332484,"url":"https://github.com/cellular/babel-preset-cellular","last_synced_at":"2025-09-07T08:45:25.794Z","repository":{"id":66017037,"uuid":"120907221","full_name":"cellular/babel-preset-cellular","owner":"cellular","description":"Babel preset used at CELLULAR","archived":false,"fork":false,"pushed_at":"2020-04-21T20:14:17.000Z","size":27,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T11:19:44.844Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cellular.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-02-09T13:11:37.000Z","updated_at":"2020-07-30T12:49:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"60a1e2f4-bc8d-470c-acd9-b4f585b3ffbf","html_url":"https://github.com/cellular/babel-preset-cellular","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":"0.30000000000000004","last_synced_commit":"8f6f4e87a8a7d342d84b04dc2ad2ac0575c05e34"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cellular%2Fbabel-preset-cellular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cellular%2Fbabel-preset-cellular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cellular%2Fbabel-preset-cellular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cellular%2Fbabel-preset-cellular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cellular","download_url":"https://codeload.github.com/cellular/babel-preset-cellular/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248088549,"owners_count":21045738,"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-11-05T19:39:12.408Z","updated_at":"2025-04-09T18:35:48.716Z","avatar_url":"https://github.com/cellular.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# babel-preset-cellular\n\n[![Build Status](https://travis-ci.org/cellular/babel-preset-cellular.svg?branch=master)](https://travis-ci.org/cellular/babel-preset-cellular)\n[![Greenkeeper badge](https://badges.greenkeeper.io/cellular/babel-preset-cellular.svg)](https://greenkeeper.io/)\n[![version](https://img.shields.io/npm/v/babel-preset-cellular.svg)](http://npm.im/babel-preset-cellular)\n\nThis package includes the Babel preset used at [CELLULAR](https://www.cellular.de).\n\nPresets:\n* [env](https://www.npmjs.com/package/babel-preset-env)\n* [flow](https://www.npmjs.com/package/babel-preset-flow)\n* [react](https://www.npmjs.com/package/babel-preset-react)\n\nPlugins:\n\n* [add-react-displayname](https://www.npmjs.com/package/babel-plugin-add-react-displayname)\n* [glamorous-displayname](https://www.npmjs.com/package/babel-plugin-glamorous-displayname) \n* [syntax-dynamic-import](https://www.npmjs.com/package/babel-plugin-syntax-dynamic-import)\n* [transform-decorators-legacy](https://www.npmjs.com/package/babel-plugin-transform-decorators-legacy)\n* [transform-class-properties](https://www.npmjs.com/package/babel-plugin-transform-class-properties)\n* [transform-object-rest-spread](https://www.npmjs.com/package/babel-plugin-transform-object-rest-spread)\n* [minify-dead-code-elimination](https://www.npmjs.com/package/babel-plugin-minify-dead-code-elimination)\n\nWhen NODE_ENV or BABEL_ENV is `test`:\n* [dynamic-import-node](https://www.npmjs.com/package/babel-plugin-dynamic-import-node)\n\n## Usage in cellular-scripts projects\n\nThe easiest way to use this configuration is with [cellular-scripts](https://www.npmjs.com/package/cellular-scripts), which includes it by default. **You don’t need to install it separately.**\n\n## Usage outside of cellular-scripts\n\nIf you want to use this Babel preset in a project not built with cellular-scripts, you can install it with following steps:\n\nFirst, [install Babel](https://babeljs.io/docs/setup/).\n\nThen install babel-preset-cellular.\n\n```sh\nnpm install babel-preset-react-app --save-dev\n```\n\nThen create a file named `.babelrc` with following contents in the root folder of your project:\n\n```js\n{\n  presets: [\"cellular\"]\n}\n```\n\n## Options\n\nIf your project doesn't use flow, react or glamorous you can turn off these plugins to speed up the processing:\n\n```js\n{\n  presets: [\n    [\n      \"cellular\",\n      {\n        flow: false,\n        react: false,\n        displayname: false,\n        glamorous: false,\n      }\n    ]\n  ]\n}\n```\n\n__NOTE:__ If you use this preset with [cellular-scripts](https://www.npmjs.com/package/cellular-scripts) this will be done automatically.\n\n# License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcellular%2Fbabel-preset-cellular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcellular%2Fbabel-preset-cellular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcellular%2Fbabel-preset-cellular/lists"}