https://github.com/michal-wrzosek/typescript-lib-boilerplate
Typescript library boilerplate => CRA example app, eslint, prettier, vscode, rollup
https://github.com/michal-wrzosek/typescript-lib-boilerplate
Last synced: 3 months ago
JSON representation
Typescript library boilerplate => CRA example app, eslint, prettier, vscode, rollup
- Host: GitHub
- URL: https://github.com/michal-wrzosek/typescript-lib-boilerplate
- Owner: michal-wrzosek
- License: mit
- Created: 2019-09-27T10:15:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T18:45:11.000Z (over 2 years ago)
- Last Synced: 2025-01-21T20:48:42.368Z (5 months ago)
- Language: JavaScript
- Size: 823 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.