Socket
Socket
Sign inDemoInstall

babel-preset-vessel

Package Overview
Dependencies
184
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    babel-preset-vessel

Babel preset for vessel projects


Version published
Maintainers
1
Created

Readme

Source

babel-preset-vessel

A Babel preset with Typescript and optional React support for vessel projects. Created for uniting testing, linting, local development and applications. If building deployable packages, it is suggested to use Packemon instead.

Installation

yarn add --dev babel-preset-vessel

Usage

Add the preset to your root babel.config.js.

module.exports = {
  presets: ['vessel'],
};

Options

The following options can be passed to the preset.

  • modules (boolean) - Force transpilation to use ECMA script module syntax. Defaults to false (auto modules).
  • react (boolean | classic | automatic) - Enable the React plugin and the defined JSX runtime. Defaults to false.
  • targets (Record<string, string> | string[] | string) - Override the target environment. Defaults to Node.js current.
module.exports = {
  presets: [['vessel', { react: true }]],
};

Keywords

FAQs

Last updated on 17 Feb 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc