This is a template to develop and deploy a new module in TypeScript.
- Use rollup through bili
- Use
jest
, no need to configure anything - Extract table of contents from README.md
First, fork this repository.
Before using this template, you should open LICENSE.md
and replace Your Name
with your name.
At the bottom of this file, there's another Your Name
to be replaced.
npm run test
npm run testWatch
npm run toc
This will extract table of contents from README.md
and insert it back to README.md
.
npm run patch
This will deploy your module with patch version increased.
npm run minor
This will deploy your module with minor version increased.
- Fork it!
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request :D
Your Name, Released under the MIT License.