đ Key Learning Outcomes
- Introducing npm scripts as a build tool.
- Creating custom npm scripts and running them.
- Using npm scripts for automation and efficiency.
- Understanding npm script lifecycle hooks and passing arguments.
- Enhancing npm scripts with package.json variables and custom config settings.
đ¨âđĢ About the Course
This course explores the fundamentals of using npm scripts as a build tool. Starting with basic scripts, you'll progress to creating more complex automation tasks. By the end, you'll be equipped with the knowledge to develop your own set of efficient build scripts.
đ¯ Target Audience
- Beginners interested in streamlining their development workflow using npm scripts.
- JavaScript developers looking to automate tasks and improve project efficiency.
â Requirements
- Basic understanding of JavaScript.
- Familiarity with npm and package.json files.
đ Course Content
- Creating a basic package.json file.
- Running and customizing npm scripts.
- Using npm scripts in series and parallel.
- Leveraging npm-run-all for shorthand syntax.
- Implementing npm script lifecycle hooks and passing arguments.
- Enhancing scripts with package.json variables and custom config settings.
- Running scripts with git hooks and onchange.
- Making scripts cross-environment friendly and supporting tab completion.
- Adding comments to scripts and organizing them in separate files..
Drop a comment
How to Use npm Scripts as Your Build Tool by Elijah Manor
Log in to leave a feedback
Loginđ Psst! Interested in More JavaScript Courses?
Asynchronous JavaScript with async/awaitVideo
by Marius Schulz
đšī¸ Levels: đ Intermediate
âŗ Duration: 0.5 hours
đ¤ Price: Subscription
đ§âđģ Learning Platform: Egghead.io
Learn ES6 (ECMAScript 2015)Video
by John Lindquist
đšī¸ Levels: đą Beginner, đ Intermediate
âŗ Duration: 1 hours
đ¤ Price: Subscription
đ§âđģ Learning Platform: Egghead.io
Hardcore Functional Architecture Patterns in JavaScriptVideo
by Brian Lonsdorf
đšī¸ Levels: đ Advanced
âŗ Duration: 4 hours
đ¤ Price: Subscription
đ§âđģ Learning Platform: Frontend Masters