Modern Javascript Workflows
summary
Walks through a working workflow: ESLint finds parse errors and style issues by flagging an unexpected token and stray semicolons; Browserify bundles CommonJS modules and shows compiled output with requires; NPM installs lodash and other packages into node_modules for reproducible installs; a Browserify shim prevents duplicate jQuery by using the global instead of bundling; Babel (via babelify) transpiles ES2015 features like arrow functions, let/const, destructuring and import/export into browser-ready code; a Grunt generator wires lint, browserify+babelify, uglify and a watch task so edits auto-compile.
AI-written summary · about
chapters (10)
- 0:00Introduction to modern workflows
- 1:28Why clean and modular code matters
- 2:51Demo of ESLint for clean code
- 6:04Browserify for modular JavaScript
- 9:55NPM and external libraries
- 11:59Babel for ES6 to ES5 compilation
- 16:16Demo of Babel transforms
- 18:50Tying tools together with Grunt
- 20:39Alternatives and tooling landscape
- 21:24Q&A on workflows
