npm-module-typescript-boilerplate

1.0.1 • Public • Published

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.

Package Sidebar

Install

npm i npm-module-typescript-boilerplate

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

3.55 kB

Total Files

5

Last publish

Collaborators

  • miguelfernandez008