babel-preset-stoplight

0.3.4 • Public • Published

babel-preset-stoplight

This package includes the Babel preset used by Stoplight.

First, install Babel.

Then create a file named .babelrc with following contents in the root folder of your project:

{
  "presets": ["stoplight"]
}

This preset uses the useBuiltIns option with transform-object-rest-spread, which assumes that Object.assign is available or polyfilled.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.4
    0
    • latest

Version History

Package Sidebar

Install

npm i babel-preset-stoplight

Weekly Downloads

0

Version

0.3.4

License

MIT

Last publish

Collaborators

  • marbemac