How to Use npm Scripts as Your Build Tool

52m 53s
English
Paid
November 20, 2023

In this course we will introduce the topic of using npm scripts as a build tool. We will start simple and then continue to build a small website as we introduce new topics. By the end of the course, you'll know how to get started and what tools and techniques are needed for you to create your own set of build scripts.

Watch Online How to Use npm Scripts as Your Build Tool

Join premium to watch
Go to premium
# Title Duration
1 Create a basic package.json file 01:57
2 Run the basic npm scripts 00:57
3 Create a custom npm script 01:18
4 Run npm scripts in series 01:00
5 Run npm scripts in parallel 02:06
6 Use a shorthand syntax for running multiple npm scripts with npm-run-all 01:39
7 Run a set of similar npm scripts with a wildcard 01:59
8 Use pre and post npm script lifecycle hooks 01:24
9 Pass arguments to npm scripts 01:04
10 Pipe data from one npm script to another 04:32
11 Run npm scripts when files change with onchange 02:07
12 Use package.json variables in npm scripts 01:23
13 Use custom config settings in your npm scripts 03:01
14 Run npm scripts with git hooks 01:57
15 Change the level of console output when running npm scripts 00:49
16 Make npm scripts cross-environment friendly 05:42
17 List available npm scripts and support tab completion 01:53
18 Add comments to your npm scripts 02:11
19 Pull out npm scripts into another file with p-s 05:53
20 Create a bash script to replace a complex npm script 02:56
21 Create a node script to replace a complex npm script 07:05

Similar courses to How to Use npm Scripts as Your Build Tool

Understanding NPM - Node.js Package Manager

Understanding NPM - Node.js Package Manager

Duration 2 hours 18 minutes 39 seconds