Get 20% off all career paths from fullstack to AI
Pass the PMP® Exam on Your First Try — Expert-Led Training
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
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