Package Exports
- babel-cli
- babel-cli/bin/babel
- babel-cli/bin/babel-doctor
- babel-cli/bin/babel-external-helpers
- babel-cli/bin/babel-node
- babel-cli/bin/babel-node.js
- babel-cli/bin/babel.js
- babel-cli/lib/babel
- babel-cli/lib/babel/dir
- babel-cli/lib/babel/file
- babel-cli/package.json
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (babel-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
babel-cli
Babel command line.
In addition, various entry point scripts live in the top-level package at babel-cli/bin
.
There are some shell-executable utility scripts, babel-external-helpers.js
and babel-node.js
, and the main Babel cli script, babel.js
.
Install
npm install --save-dev babel-cli
Usage
babel script.js
For more in depth documentation see: http://babeljs.io/docs/usage/cli/