模块 | 功能描述 | 关联配置 |
---|---|---|
root | 公共文件 | name, npmname, username |
build | 构建类,包含 rollup.js 和 Babel | name, test.mocha |
prettier | 格式化 | prettier |
eslint | ESlint 配置 | eslint, prettier |
commitlint | 提交信息检验 | commitlint.commitlint, commitlint.standard-version |
test | 单元测试类,包含 Mocha 和 nyc | test.mocha, test.puppeteername |
husky | Git hook 检验 | husky, eslint, commitlint.commitlint |
ci | 持续集成,包含 Github Actions | ci, commitlint.commitlint |