babel-preset-nw12

0.0.1 • Public • Published

babel-preset-nw12

Babel preset for NW.js v0.12.3

npm install -D babel-preset-nw12
// based on babel-preset-es2015 v6.9.0
module.exports = {
  plugins: [
    // https://babeljs.io/docs/learn-es2015/
    // http://es6-features.org/

    // require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-template-literals"),
    require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-literals"),
    require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-function-name"),
    require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-arrow-functions"),
    // require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-block-scoped-functions"),
    require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-classes"),
    require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-object-super"),
    // require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-shorthand-properties"),
    // require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-duplicate-keys"),
    require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-computed-properties"),
    // require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-for-of"),
    require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-sticky-regex"),
    require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-unicode-regex"),
    // require("babel-preset-es2015/node_modules/babel-plugin-check-es2015-constants"),
    require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-spread"),
    require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-parameters"),
    require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-destructuring"),
    require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-block-scoping"),
    // require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-typeof-symbol"),
    require("babel-preset-es2015/node_modules/babel-plugin-transform-es2015-modules-commonjs"),

    // nw supports generators
    // [require("babel-plugin-transform-regenerator"), { async: false, asyncGenerators: false }],
  ]
};

Readme

Keywords

none

Package Sidebar

Install

npm i babel-preset-nw12

Weekly Downloads

0

Version

0.0.1

License

none

Last publish

Collaborators

  • fritx