{"id":26403409,"url":"https://github.com/fossamagna/babel-preset-gas","last_synced_at":"2025-03-17T15:33:38.158Z","repository":{"id":20332204,"uuid":"89500554","full_name":"fossamagna/babel-preset-gas","owner":"fossamagna","description":"Babel preset for all Goolge Apps Script plugins.","archived":false,"fork":false,"pushed_at":"2025-03-17T13:14:39.000Z","size":1543,"stargazers_count":10,"open_issues_count":7,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T14:28:33.642Z","etag":null,"topics":["babel-preset","google-apps-script"],"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/fossamagna.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":"2017-04-26T15:59:36.000Z","updated_at":"2024-07-15T14:22:41.000Z","dependencies_parsed_at":"2023-01-16T20:46:56.921Z","dependency_job_id":"a5d0f00d-2f07-43d9-b7e5-9f2a273282eb","html_url":"https://github.com/fossamagna/babel-preset-gas","commit_stats":{"total_commits":230,"total_committers":9,"mean_commits":"25.555555555555557","dds":0.5478260869565217,"last_synced_commit":"e0e6c94d83d2cdf012579a2c96f535121221e14f"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fossamagna%2Fbabel-preset-gas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fossamagna%2Fbabel-preset-gas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fossamagna%2Fbabel-preset-gas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fossamagna%2Fbabel-preset-gas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fossamagna","download_url":"https://codeload.github.com/fossamagna/babel-preset-gas/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244050505,"owners_count":20389714,"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":["babel-preset","google-apps-script"],"created_at":"2025-03-17T15:33:36.642Z","updated_at":"2025-03-17T15:33:38.153Z","avatar_url":"https://github.com/fossamagna.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# babel-preset-gas\n\n\u003e Babel preset for all Goolge Apps Script plugins.\n\nThis preset includes the following plugins:\n\n- [babel-plugin-transform-member-expression-literals](https://babeljs.io/docs/en/next/babel-plugin-transform-member-expression-literals)\n- [babel-plugin-transform-property-literals](https://babeljs.io/docs/en/next/babel-plugin-transform-property-literals)\n\n## Example\n\n**In**\n\n```javascript\nexport.default {\n  default: true\n}\n```\n\n**Out**\n\n```javascript\nexport[\"default\"] = {\n  \"default\": true\n}\n```\n\n## Installation\n\n```sh\nnpm install --save-dev babel-preset-gas\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n  \"presets\": [\"gas\"]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --presets gas script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"@babel/core\").transform(\"code\", {\n  plugins: [\"gas\"]\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffossamagna%2Fbabel-preset-gas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffossamagna%2Fbabel-preset-gas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffossamagna%2Fbabel-preset-gas/lists"}