jeremie-gauthier / npm-module-template

A simple template to start the creation of new npm modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm-module-template

A simple template to start the creation of new npm modules

NOTE

This template is highly opinionated.

It is configured to work with React and Typescript to designed and publish React components to npm.

COMMANDS

To compile your code once, run

  • npm run build.

To compile your code once and refresh on file change, run

  • npm run start.

To publish your package to npm, make sure you're logged in the correct account by running

  • npm login.

Update the package version accordingly by using

Then publish your package by running on of the following

  • npm publish
  • npm publish --access public

LICENSE

MIT

About

A simple template to start the creation of new npm modules

License:MIT License


Languages

Language:JavaScript 56.1%Language:TypeScript 43.9%