babel-preset-es2015-script

Preset for Babel to use ES2015 in a script/browser context

Showing:

Popularity

Downloads/wk

1.1K

GitHub Stars

8

Maintenance

Last Commit

5yrs ago

Contributors

2

Package

Dependencies

20

Size (min+gzip)

133.6KB

License

Apache-2.0

Type Definitions

Tree-Shakeable

No?

Categories

Readme

This preset is deprecated

Instead of using this preset use the babel-preset-es2015 with the modules option set to false:

{
  "presets": [ [ "es2015", { modules: false } ] ]
}

babel-preset-es2015-script is now just a different way to write the same.

Old documentation follows:

babel-preset-es2015-script Build Status Greenkeeper badge

Babel preset based on the es2015 preset, but for use inside the browser rather than for an ES6 module. Specifically this preset does not include the transform-es2015-modules-commonjs plugin

Installation

$ npm install --save-dev babel-preset-es2015-script

Usage

{
  "presets": ["es2015-script"]
}

License

This software is licensed under the Apache 2 license, quoted below.

Copyright 2011-2017 Collaborne B.V. <http://github.com/Collaborne/>

Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100