Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mimosa-babel

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mimosa-babel

babel mimosa files

  • 0.5.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-80%
Maintainers
1
Weekly downloads
 
Created
Source

mimosa-babel

This is a babel compiler module for the Mimosa build tool. It will compile your ES6 JavaScript to ES5 JavaScript.

For more information regarding Mimosa, see http://mimosa.io

Usage

Add 'babel' to your list of modules. That's all! Mimosa will install the module for you when you start mimosa watch or mimosa build.

Functionality

This module will process your .js files and compile them using babel. This module will not compile vendor JavaScript files.

Default Config

babel: {
  extensions: ['js', 'es6'],
  exclude: [],
  options: {
    blacklist: [],
    whitelist: [],
    modules: 'common',
    sourceMap: true,
    moduleRoot: undefined,
    moduleIds: false,
    runtime: false,
    experimental: false,
    format: {
      comments: true,
      compact: false,
      indent: {
        parentheses: true,
        adjustMultilineComment: true,
        style: "  ",
        base: 0
      }
    }
  }
}
lib node module

You may want to use this module but may not want to use the version of babel that comes bundled. Using the lib property you can provide a specific version of babel if the one being used by this module isn't to your liking. To provide a specific version, you must have it npm installed into your project and then provide it to lib. For instance: lib: require('babel').

extensions array of strings

The extension(s) of your ES6 JavaScript files.

options object

This is a pass through to the babel options object. For more details on how to configure babel, check out the documentation.

Keywords

FAQs

Package last updated on 26 Apr 2015

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc