This is a generic JavaScript development environment that I built from ["Building a JavaScript Development Environment" on Pluralsight Course]. This isn't tied to any specific JS framework.
- Install Node 6 or newer. Need to run multiple versions of Node? Use nvm or nvm-windows
- Clone this repository.
cd javascript-development-environmentnpm install- Run the app. -
npm start
| Dependency | Use |
|---|---|
| @babel/cli | Babel Command line interface |
| @babel/core | Babel Core for transpiling the new JavaScript to old |
| babel-loader | Adds Babel support to Webpack |
| @babel/node | Run Babel via Node |
| babel-preset-latest | Babel preset for running all the latest standardized JavaScript features |
| @babel/register | Register Babel to transpile our Mocha tests |
| chai | Assertion library |
| chalk | Colored command line output |
| css-loader | Add CSS support to Webpack |
| eslint | Lints JavaScript |
| eslint-watch | Add watch functionality to ESLint |
| express | Serves development and production builds |
| html-webpack-plugin | Generate HTML file programatically via Webpack |
| jsdom | In-memory DOM for testing |
| mocha | JavaScript testing library |
| npm-run-all | Display results of multiple commands on single command line |
| numeral | Library for working with numbers |
| open | Open app in default browser |
| rimraf | Delete files |
| style-loader | Add Style support to Webpack |
| webpack | Bundler with plugin system and integrated development server |
| webpack-dev-middleware | Adds middleware support to webpack |
| webpack-hot-middleware | Adds hot reloading to webpack |