how to use babel to compile js files code example Example: babel cmd babel src\app.js --out-file=public\scripts\app.js --presets=env,react --watch