How to Use npm Scripts as Your Build Tool

52m 53s
English
Paid

Course description

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

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 21 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing

Watch Online How to Use npm Scripts as Your Build Tool

0:00
/
#1: Create a basic package.json file

All Course Lessons (21)

#Lesson TitleDurationAccess
1
Create a basic package.json file Demo
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

Unlock unlimited learning

Get instant access to all 20 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Comments

0 comments

Want to join the conversation?

Sign in to comment

Similar courses

Understanding NPM - Node.js Package Manager

Understanding NPM - Node.js Package Manager

Sources: udemy
In this course I will explain you what is NPM and how it is used. You will learn how to initialize new project, how to install new dependencies and explore thei
2 hours 18 minutes 39 seconds