Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vmarchesin/how-to-publish-a-npm-package

A quick tutorial on how to publish your own npm package.
https://github.com/vmarchesin/how-to-publish-a-npm-package

Last synced: 25 days ago
JSON representation

A quick tutorial on how to publish your own npm package.

Awesome Lists containing this project

README

        

# How to publish a npm package

This is a quick tutorial on how you can publish your own npm package with minimal configuration. This will cover the basic setup, how npm works and how to ship good quality code.

The full tutorial can be found at my [Medium blog](https://medium.com/@vmarchesin/how-to-publish-a-npm-package-in-four-steps-4344ab88e852).

You'll need the following packages:

* @babel/core
* babel-loader
* webpack
* webpack-cli

You can install all the dependencies by running:

```bash
npm i -D @babel/core babel-loader webpack webpack-cli
```