Skip to content

Typescript library boilerplate => CRA example app, eslint, prettier, vscode, rollup

License

Notifications You must be signed in to change notification settings

michal-wrzosek/typescript-lib-boilerplate

Repository files navigation

typescript-lib-boilerplate

This is a boilerplate repository for creating npm packages written in TypeScript.

Installation:

To install all dependencies run:

npm i

It will install:

  • dependencies and devDependencies from ./package.json
  • peerDependencies from ./package.json thanks to install-peers-cli
  • dependencies and devDependencies from ./example/package.json (example create react app for testing)

Developing your library:

To start developing your library, run npm run dev. It will build your library and run example create-react-app where you can test your library. Each time you make changes to your library or example app, app will be reloaded to reflect your changes.

Typescript

This boilerplate lets you develop your libraries in Typescript and you can simultaneously test it in Typescript example create-react-app.

About

Typescript library boilerplate => CRA example app, eslint, prettier, vscode, rollup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published