All Projects → github → Babel Preset Github

github / Babel Preset Github

Licence: mit
GitHub.com's Babel configuration

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Babel Preset Github

Sharec
📦 Store your configs in one place and share between projects without any pain
Stars: ✭ 198 (+92.23%)
Mutual labels:  babel, configuration
Webpack Babel Env Deps
Find dependencies to transpile with Babel.
Stars: ✭ 130 (+26.21%)
Mutual labels:  babel, transpiler
Bose qc35 Ubuntu
Pair Bose QuietComfort 35 with Ubuntu over Bluetooth
Stars: ✭ 92 (-10.68%)
Mutual labels:  configuration
Trans Loader
webpack-less frontend with service-worker
Stars: ✭ 100 (-2.91%)
Mutual labels:  babel
Fetlang
Fetish-themed programming language
Stars: ✭ 1,337 (+1198.06%)
Mutual labels:  transpiler
Emacs Config
Personal Emacs configuration files
Stars: ✭ 94 (-8.74%)
Mutual labels:  configuration
Cs2x
Transpiles a C# subset to non .NET languages and runtimes. (Powered by Roslyn)
Stars: ✭ 97 (-5.83%)
Mutual labels:  transpiler
Webpack Core Usage
webpack2完整系列课程,欢迎阅读。同时欢迎移步我的react全家桶文章全集: https://github.com/liangklfangl/react-article-bucket
Stars: ✭ 94 (-8.74%)
Mutual labels:  babel
Frontie Webpack
Front-end Boilerplate | Gulp 4 + Webpack 4 + Babel + ITCSS Architecture + BEM Methodology + Twig.js
Stars: ✭ 102 (-0.97%)
Mutual labels:  babel
Vue3 Sfc Loader
Vue3 Single File Component loader for Vue2 and Vue3. Load .vue files directly from your html/js. No node.js environment, no (webpack) build step.
Stars: ✭ 95 (-7.77%)
Mutual labels:  babel
Netconan
netconan - a Network Configuration Anonymizer
Stars: ✭ 98 (-4.85%)
Mutual labels:  configuration
React From Scratch
Building a Modern React App from Scratch in 2021
Stars: ✭ 87 (-15.53%)
Mutual labels:  babel
Pysimpleguidesigner
Desinger for PySimpleGUI
Stars: ✭ 95 (-7.77%)
Mutual labels:  transpiler
Powscript
transpiler written in bash: painless shellscript, indentbased, coffee for the shell with hipster-sparkles v1 BETA LANDED 🎉🎉🎉🎉 thanks fcard!
Stars: ✭ 97 (-5.83%)
Mutual labels:  transpiler
Qa Checks V4
PowerShell scripts to ensure consistent and reliable build quality and configuration for your servers
Stars: ✭ 94 (-8.74%)
Mutual labels:  configuration
Schematic
Combine configuration with building a Component system
Stars: ✭ 100 (-2.91%)
Mutual labels:  configuration
Babel Plugin Jsx Adopt
Stars: ✭ 94 (-8.74%)
Mutual labels:  babel
Nodefony Starter
Nodefony Starter Node.js Framework
Stars: ✭ 95 (-7.77%)
Mutual labels:  babel
Evm2wasm
[ORPHANED] Transcompiles EVM code to eWASM
Stars: ✭ 96 (-6.8%)
Mutual labels:  transpiler
Koa Mobx React Starter
A straightforward starter for Node javascript web projects. Using Koa, MobX and ReactJS (with universal / isomorphic server rendering)
Stars: ✭ 102 (-0.97%)
Mutual labels:  babel

babel-preset-github

This is a Babel preset which GitHub.com uses to transpile our JavaScript. It supports ES2018, plus a few extra non-standard features which we use to make development easier.

Pull requests that fix bugs are welcome. We will likely only add new plugins as they are needed for the GitHub.com codebase.

To install you need node and npm:

$ npm i -D babel-preset-github

Then use the preset in your .babelrc

{
  "presets": ["github"]
}

This example only includes the polyfills and code transforms needed for a specific list of browsers that GitHub supports. You can change this by passing in a valid browserlist:

{
	"presets": [
		["github", {
			"targets": {
				"browsers": ["last 2 versions", "safari >= 7"]
			}
		}]
	]
}

LICENSE

The project is available as open source under the terms of the MIT License.

When using the GitHub logos, be sure to follow the GitHub logo guidelines.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].