* added --delete-dir-on-start option added --delete-dir-on-start-option to delete dir on start of compilation to remove deleted files from the orignial files from the --out-dir * added option --delete-dir-on-start added --delete-dir-on-start that option will delete the --out-dir before the compilation of code to remove the deleted files from the source from the out directory * added --delete-dir-on-start option added --delete-dir-on-start-option to delete dir on start of compilation to remove deleted files from the orignial files from the --out-dir * bug removed deleting the correct dir in the previous code, the source dir was deleted each time rather than deleting the out dir * Remove shorthand * Prevent babel-cli option from reaching babel-core * Lint
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/