Wondering what’s next for npm?Check out our public roadmap! »

    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.

    Keywords

    none

    Install

    npm i babel-preset-stoplight

    DownloadsWeekly Downloads

    2

    Version

    0.3.4

    License

    MIT

    Last publish

    Collaborators

    • avatar