Skip to content

pwrnrd/typescript-module-boilerplate

 
 

Repository files navigation

typescript-module-boilerplate

This is a boilerplate module for a project that uses TypeScript as its main language. To use this boilerplate, clone, delete .git folder and begin your own. Maybe delete a few other extra files as necessary.

Usage

git clone https://github.com/alexgorbatchev/typescript-module-boilerplate.git
cd typescript-module-boilerplate
npm install

Rename and edit files as needed.

Features

NPM Script Commands

  • npm run test -- Runs tests, lint and build.
  • npm run lint -- Runs ESLint.
  • npm run format -- Reformats all of the .ts and .tsx files with Prettier.
  • npm run build -- Regenerates lib folder that gets included into NPM module.

License

MIT

About

This is a boilerplate for a TypeScript NPM module.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 64.6%
  • TypeScript 35.4%