1.0.1 • Published 3 years ago

npm-module-typescript-boilerplate v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

npm-module-typescript-boilerplate

A boilerplate to develop npm modules with typescript.

Installation

To install this boilerplate, clone the repository in your machine and run npm install.

You will find three folders.

  • example - This folder has the react environment used for testing in development.
  • dist - This is the production build folder.
  • src - This is the development folder, here you have a index.tsx with a test component.

Testing

From the example folder run npm install and npm start

Build

Simply run npm run build from the root directory.

Publish

  • Change package name, version, description and those fields that describe your package.
  • Log with npm login and publish with npm publish or npm publish --access public

TODO

  • Improve things.
  • Further testing.