Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

babel-preset-electron

1.4.15 • Public • Published

babel-preset-electron

Babel preset with all plugins for Electron.

Install

Electron 1.4.15

$ npm install --save-dev babel-preset-electron@1.4.15

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["electron"]
}

Via CLI

$ babel script.js --preset electron

Via Node API

require("babel-core").transform("code", {
  presets: ["electron"]
});

install

npm i babel-preset-electron

Downloadsweekly downloads

192

version

1.4.15

license

MIT

homepage

babeljs.io

repository

githubgithub

last publish

collaborators

  • avatar