This is a boilerplate repository for creating npm packages written in TypeScript.
To install all dependencies run:
npm i
It will install:
dependencies
anddevDependencies
from ./package.jsonpeerDependencies
from ./package.json thanks toinstall-peers-cli
dependencies
anddevDependencies
from ./example/package.json (examplecreate react app
for testing)
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.
This boilerplate lets you develop your libraries in Typescript and you can simultaneously test it in Typescript example create-react-app.