Logan Smyth a89171910f
Merge pull request #6834 from loganfsmyth/caching-refactor
Expose `envName` as a top-level Babel option to avoid using environmental variables
2017-11-24 17:42:16 -08:00
..
2017-03-25 21:46:16 -04:00
2017-11-12 08:32:53 -05:00

@babel/cli

Babel command line.

In addition, various entry point scripts live in the top-level package at @babel/cli/bin.

There is a shell-executable utility script, babel-external-helpers.js, and the main Babel cli script, babel.js.

Install

npm install --save-dev @babel/core @babel/cli

Usage

babel script.js

For more in depth documentation see: http://babeljs.io/docs/usage/cli/