/utils-boilerplate

工具类库模板

Primary LanguageJavaScriptMIT LicenseMIT

utils-boilerplate

基于rollup+typescript的工具类库模板

特性

  • 使用jest进行单元测试,同时使用power-assert作为断言库;
  • 使用commitizen规范git commit提交(用git-cz代替git进行提交);
  • 使用huskygit提交的信息进行校验;
  • 使用standard-version进行版本发布;
  • 使用typescript-is对运行时参数进行校验;
  • 使用typedoc根据注释生成文档;

Prerequisites

Node.js (>=10.x, 13.x preferred), npm version 5+ (npx) and Git.

Dependent

  • @babel/core
  • rollup
  • jest
  • majestic
  • eslint
  • commitizen
  • standard-version
  • husky
  • typescript
  • ttypescript
  • typescript-is
  • typedoc
  • ... ...

Usage

git clone https://github.com/nicejade/vue-boilerplate-template (your-project-name)
cd your-project-name
npm install
npm build