New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

babel-me

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-me

A simple & clean babel grunt boilerplate

latest
Source
npmnpm
Version
0.1.5
Version published
Weekly downloads
26
420%
Maintainers
1
Weekly downloads
 
Created
Source

babel-me

Are you planning to use babel in your next project ? Build a Babel environment in one single line

#Install

npm install -g babel-me

#Usage

babel-me

Create a simple environment for start coding in es6 with babel.

.
|___ lib/index.js     <-- base es6 file
|___ dist/            <-- distribution folder
|___ tests/test.js    <-- base es6 test based on mocha
|___ .babelrc         <-- babel configuration file

Aumatically add scripts to use and build your babel lib

...
"scripts":{
  "build" : "./node_modules/babel-cli/bin/babel.js lib -d dist",
  "test" : "./node_modules/mocha/bin/mocha tests/* --compilers js:babel-core/register -t 15s",
  "prepublish" : "npm run build"
},

Install the minimumm required dependencies

  • babel-cli
  • babel-core
  • babel-preset-es2015
  • mocha

Thats all! Simple and with minimum dependencies.

Related

A babel boilerplate for Yeoman https://github.com/babel/generator-babel-boilerplate

Keywords

babel

FAQs

Package last updated on 29 Sep 2016

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