Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Building a Production Ready npm Package - Part 2

Snyk via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to build, test, and publish a production-ready npm package in this 17-minute video tutorial that serves as the second part of a comprehensive guide. Master essential steps including configuring package.json, implementing ECMAScript format, writing tsconfig.json files, and setting up comprehensive testing procedures. Follow detailed demonstrations on error fixing in index.test code, test implementation, pipeline integration, and package testing. Access additional resources through provided links to Snyk's blog posts and GitHub repository containing a modern npm package example. For optimal learning, watch Part 1 of the series before diving into these advanced implementation techniques.

Syllabus

00:00 - Intro
00:43 - Building npm package.json
01:30 - Quick PSA for ECMAScript Format
02:17 - Writing tsconfig.json file
04:05 - Building npm package.json
05:25 - Setting up and adding tests
07:17 - How to fix errors in your index.test code
07:56 - Altering code in tests
09:23 - Running and setting up your tests
10:34 - Adding code into a steady pipeline
13:50 - How to test using the package
16:46 - Outro

Taught by

Snyk

Reviews

Start your review of Building a Production Ready npm Package - Part 2

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.