基于rollup
+typescript
的工具类库模板
- 使用
jest
进行单元测试,同时使用power-assert
作为断言库; - 使用
commitizen
规范git commit
提交(用git-cz
代替git
进行提交); - 使用
husky
对git
提交的信息进行校验; - 使用
standard-version
进行版本发布; - 使用
typescript-is
对运行时参数进行校验; - 使用
typedoc
根据注释生成文档;
Node.js (>=10.x, 13.x preferred), npm version 5+ (npx) and Git.
- @babel/core
- rollup
- jest
- majestic
- eslint
- commitizen
- standard-version
- husky
- typescript
- ttypescript
- typescript-is
- typedoc
- ... ...
git clone https://github.com/nicejade/vue-boilerplate-template (your-project-name)
cd your-project-name
npm install
npm build