Socket
Book a DemoInstallSign in
Socket

kraken-devtools-babel

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kraken-devtools-babel

a kraken-devtools plugin that adds es6 support using babel

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
3
200%
Maintainers
1
Weekly downloads
 
Created
Source

kraken-devtools-6to5

a kraken-devtools plugin that adds es6 support using 6to5

Installation

npm install kraken-devtools-6to5

Configuration

Add the following to your devtools config block:

"6to5": {
    "module": "kraken-devtools-6to5",
    "files": "/js/**/*.js"
}

6to5 Options

Customizing 6to5 can easily be done from this config block like so:

"6to5": {
    "module": "kraken-devtools-6to5",
    "files": "/js/**/*.js",
    "options": {
    	"modules": "amd",
		"blacklist": ["useStrict"]
    }
}

Check out https://6to5.org/ for more options.

Timing The Transforms

There's also an additional option you can pass which times how long it takes:

"6to5": {
    "module": "kraken-devtools-6to5",
    "files": "/js/**/*.js",
    "time": true
}

This will log the time of each file being transformed in a format similar to this:

/js/view/header.js: 84ms

Keywords

kraken

FAQs

Package last updated on 16 Feb 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.