YoVDO

How to Write an Open Source JavaScript Library

Offered By: egghead.io

Tags

Javascript Courses GitHub Courses Unit Testing Courses npm Courses Code Coverage Courses Semantic Versioning Courses

Course Description

Overview

Publishing a JavaScript library for public use requires some extra steps. You need to think about how people will use the library. From end users, to contributors your library now has a variety of people outside of yourself potentially making use of the code that you've released into the wild.
From Github and npm, to releasing beta versions, semantic versioning, code coverage, continuous integration, and providing your library with a solid set of unit tests, there are a ton of things to learn.
This series will guide you through a set of steps to publish a JavaScript open source library.
You might also enjoy this article about contributing to open source.

Syllabus

  • Introduction to How to Write an Open Source JavaScript Library
  • Setting up GitHub
  • Configuring npm and creating a package.json
  • Creating the library and adding dependencies
  • Pushing to GitHub
  • Publishing to npm
  • Releasing a version to GitHub
  • Releasing a new version to npm
  • Publishing a beta version
  • Setting up Unit Testing with Mocha and Chai
  • Unit Testing with Mocha and Chai
  • Automating Releases with semantic-release
  • Writing conventional commits with commitizen
  • Committing a new feature with commitizen
  • Automatically Releasing with TravisCI
  • Automatically running tests before commits with ghooks
  • Adding code coverage recording with Istanbul
  • Adding code coverage checking
  • Add code coverage reporting
  • Adding badges to your README
  • Adding ES6 Support
  • Adding ES6 Support to Tests using Mocha and Babel
  • Limit Built Branches on Travis
  • Add a browser build to an npm module

Taught by

Kent C. Dodds

Related Courses

Learn Javascript - 21 Essential Array Methods
Coursera Project Network via Coursera
3D Graphics for Web Developers
Pompeu Fabra University via FutureLearn
A Simple Scatter Plot using D3 js
Coursera Project Network via Coursera
Access WebView in an Android Studio Project
Coursera Project Network via Coursera
Deployment Pipelines using GitHub Actions
A Cloud Guru