Skip to content
JS

Creating an Open Source JavaScript Library on Github

Course on Master.dev by Kent C. Dodds

View on Master.dev (opens in a new tab)
5 h 30 min
LengthVideo runtime
Subscription
Price modelMaster.dev plan
39
Lessons
Dec 2016
Published7 Dec 2016

About this course

Description from Master.dev

"Participating in open source has been one of the most rewarding experiences of my career." ~Kent C. Dodds. Setup new projects on GitHub, configure npm to publish the project to the npm registry, transpile the source with babel, add unit tests / code coverage and continuous integration (with Travis CI). Run tests automatically and report coverage stats to codecov.io. Automate releases with semantic-release and distribute a browser build with webpack, plus manage the community all in this course on publishing an open source library!

What it covers

39 lessons
  1. 01

    Creating an Open Source Library

    1. Setup
    2. License, Code of Conduct, & README
    3. Exercise: Creating the Code of Conduct and License.
    4. NPM Configuration and NPM Init
    5. Exercise: Creating the Library
    6. Creating the Library Solution
  2. 02

    Linting & Testing

    1. ESLint
    2. Exercise: Linting the Library
    3. Exercise: Setting Up Mocha & Chai
    4. Exercise: Writing Unit Tests
    5. Writing Unit Tests Solution
    6. Code Coverage
    7. Configuring NYC
  3. 03

    Git Hooks, Babel, & Webpack

    1. Git Hooks
    2. Exercise: Creating a Validate Script
    3. Transpiling
    4. Installing & Configuring Babel
    5. Ignoring and Copying Files
    6. Sending the Distribution to NPM
    7. Babel Register & Istanbul
    8. Exercise: Adding Babel Register & Istanbul
    9. Universal JavaScript with Webpack
    10. Adding & Configuring Webpack
    11. Peer Dependencies
    12. Forking & Renaming
    13. Moving to the Master Branch
  4. 04

    Continuous Integration & Automating Releases

    1. Exercise: Setting up Travis CI
    2. Exercise: Tracking Code Coverage with Codecov
    3. Publishing to npmjs.com
    4. Semantic Release
    5. Semantic Versioning with NPM
    6. Exercise: Automating Releases Part 1
    7. Exercise: Automating Releases Part 2
    8. Exercise: Using Commitizen
    9. Browsing the Updated Library
    10. The Open Source Community: Getting Started
    11. The Open Source Community: Documentation & Issues
    12. The Open Source Community: Getting Contributors
    13. Resources

Similar JavaScript courses

  1. Game Development with JavaScript: Creating Tetris

    Educative · Michael Karén · 27 lessons · Apr 2026

    Beginner5 h 30 minSubscription
    Educative27Apr 2026
  2. Choosing a JavaScript Framework

    Master.dev · Brian Holt · 39 lessons · Sept 2014

    5 h 31 minSubscription
    Master.dev39Sept 2014
  3. JS.Next: ES6 / ES2015

    Master.dev · Aaron Frost · 38 lessons · Dec 2014

    5 h 25 minSubscription
    Master.dev38Dec 2014
  4. Introduction to JavaScript

    Master.dev · Brian Holt · 55 lessons · Sept 2019

    5 h 24 minSubscription
    Master.dev55Sept 2019
  5. Building a Web Application with JavaScript and IndexedDB

    Educative · Programming Bytes · 31 lessons · Sept 2025

    Beginner5 hSubscription
    Educative31Sept 2025
  6. Intermediate6 h
    Codecademy5Jul 2018
  7. Building Safer JavaScript Applications

    Educative · Quinton Aiken · 25 lessons · Nov 2024

    Beginner5 hSubscription
    Educative25Nov 2024
  8. Intermediate5 h
    CourseraJun 2023

A hyphen means the provider's catalogue does not state the value.

Same topic, nearest in length, up to three from any one provider.

Data read from the Master.dev catalogue on 28 Nov 2026. How the data is collected.

    Compare