Skip to main content
100%

Setting up Babel and nodemon

✓ Published0🌍 Public
Aackuser
Last edited Nov 7, 2016
Created on Sep 11, 2018

This example demonstrates a practical workflow for setting up a JavaScript development environment with Babel and nodemon. It shows how to configure Babel presets to transpile ES6 code, use nodemon for automatic restarts during development, and build ES5 output from an `src` directory. The setup includes npm scripts for running a Babel-powered Node.js REPL, starting the app in development mode, and compiling code. It also integrates Mocha and Chai for testing, using `babel-register` to compile test files on the fly. The code relies on `babel-cli`, `babel-preset-latest`, `nodemon`, `mocha`, and `chai` as dev dependencies.

AI-generated description

Similar vizzes