Socket
Book a DemoInstallSign in
Socket

fis3-parser-babel6

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis3-parser-babel6

A babel parser for fis3

latest
Source
npmnpm
Version
0.1.3
Version published
Maintainers
1
Created
Source

fis3-parser-babel6

Dependency Status devDependency Status NPM Version

A babel 6 parser for fis3

How to use

Install

npm install fis3-parser-babel6 --save-dev

Add configure to fis-conf.js

// require the parser plugin and specify the parser
fis.require('parser-babel6').parser = require('babel-core');

fis.match('/src/**.js', {
    parser: fis.plugin('babel6', {
        // babel options
    })
});

By default, the babel helper api used information is saved to file.extras.babelHelpers. If you using babel-plugin-external-helpers plugin plugin, you can lookup the used information from file extras property.

If the processed fis file has disableBabel property set true, the parser will ignore this file.

Options

  • speed - boolean optional: experiment, if you using npm2 to manage the dependencies, you can enable this option to speed up the babel startup time

  • more babel options, please refer babel

Keywords

fis3

FAQs

Package last updated on 24 Feb 2017

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