Understanding NPM - Node.js Package Manager

2h 18m 39s
English
Paid

Course description

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 their child dependencies. We will also discuss what is Semantic Versioning and what Major, Minor and Patch versions mean. You will also understand what is the purpose of the package-lock.json file. I will explain you what is the purpose of the NPM scripts and how they should be used. We will talk about built-in NPM scripts and custom script.

Read more about the course

 Also we will combine several NPM scripts in a one using npm-run-all external package. You will understand what is executable script and what is the purpose of the .bin folder in the node_modules folder. I will explain you what is shebang line and how it is used on the Unix-based system and on Windows.

Watch Online

This is a demo lesson (10:00 remaining)

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

View Pricing

Watch Online Understanding NPM - Node.js Package Manager

0:00
/
#1: LECTURE - Intro

All Course Lessons (38)

#Lesson TitleDurationAccess
1
LECTURE - Intro Demo
03:14
2
LECTURE - Course Navigation.mp4
01:28
3
PRACTICE - Exploring NPM packages
01:33
4
LECTURE - Package.json and init
03:12
5
LECTURE - Semantic Versioning
04:46
6
LECTURE - Packages Installation
02:14
7
PRACTICE - Install package in the project
04:43
8
CHALLENGE - Install Semver package
00:38
9
CHALLENGE - Install Semver Package - SOLUTION
11:05
10
PRACTICE - Install Browserslist - package with own dependencies
03:23
11
LECTURE - Dependencies and Development Dependencies
02:44
12
PRACTICE - Examine Development Dependencies
06:22
13
PRACTICE - Browser App vs Server Package
04:42
14
CHALLENGE - Clock Browser Application
01:43
15
CHALLENGE - Clock Browser Application - SOLUTION
12:08
16
LECTURE - Clock Challenge Summary
02:20
17
LECTURE - Browser App vs Public Package
06:51
18
PRACTICE - Exploring Package Information and Versions
02:45
19
PRACTICE - Installing Specific Package Version
03:26
20
LECTURE - Why package-lock.json file is needed?
04:30
21
CHALLENGE - Reinstall old package version without lock file
00:59
22
CHALLENGE - Reinstall old package version without lock file - SOLUTION
03:08
23
LECTURE - How lock file is handled
10:56
24
LECTURE - Lock file summary
00:38
25
LECTURE - Update NPM packages overview
01:33
26
CHALLENGE - Update project dependencies
00:41
27
CHALLENGE - Update project dependencies - SOLUTION
05:08
28
LECTURE - Introduction to the NPM scripts
02:50
29
PRACTICE - Start NPM script
02:22
30
CHALLENGE - Create prestart script
01:29
31
CHALLENGE - Create prestart script - SOLUTION
07:14
32
PRACTICE - Custom NPM scripts
02:49
33
CHALLENGE - Run NPM scripts simultaneously
01:16
34
CHALLENGE - Run NPM scripts simultaneously - SOLUTION
03:26
35
LECTURE - NPM .bin Folder with Executable Scripts
04:46
36
PRACTICE - Explore .bin Folder on the Mac
02:49
37
PRACTICE - Explore .bin Folder on Windows
01:29
38
LECTURE - NPM Scripts Wrap-Up
01:19

Unlock unlimited learning

Get instant access to all 37 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

How to Use npm Scripts as Your Build Tool

How to Use npm Scripts as Your Build Tool

Sources: egghead
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 t...
52 minutes 53 seconds