Skip to content

MiguelFernandez008/npm-module-typescript-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A boilerplate to develop npm modules with typescript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published