A simple boilerplate for npm package with TypeScript.
- Node.js 16.13.0
- React 18
- TypeScript 4.5.4
- Storybook
- eslint
- airbnb
- airbnb-typescript
- prettier
- vitest
- microbundle
Clone this repository:
git clone git@github.com:RyoSogawa/react-npm-package-boilerplate.git
Open the directory and npm install:
cd react-npm-package-boilerplate
yarn
(Optional) Remove boilerplate data and commit:
rm -rf .git && git init && git add . && git commit -m "Initial commit"
https://github.com/hebertcisco/ts-npm-package-boilerplate
Install from npm:
# Using npm
npm install <PACKAGE_NAME>
# Using Yarn
yarn add <PACKAGE_NAME>
Please feel free to open an issue or make a pull request.
Distributed under the MIT License. See LICENSE for more information.