0.1.5 • Published 8 years ago

babel-me v0.1.5

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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

0.1.5

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago