0.30.1 • Published 5 years ago
@reactizer/boil-lib v0.30.1
@reactizer/boil-lib
The best React library boilerplate!
Setup
yarn init # fill in yo project info
yarn add @reactizer/cli @reactizer/boil-lib -D
yarn reactizer init --app lib
yarn
Then adjust your README.md
, and add the following to package.json
:
{
"files": [
"lib",
"index.d.ts",
"README.md"
]
}
For updating, run yarn reactizer update --app lib
and revert any undesired changes.
Commits
Follow @commitlint/conventional
with a mandatory scope of:
dev
for non-production things like CI or teststypes
for adjusting.js.flow
files or type signaturessrc
for library changes, features, patches...
Examples:
docs(dev): document commits
feat(src): add new hook
chore(types): new spread syntax
Release
yarn release
yarn publish
License
MIT