File tree Expand file tree Collapse file tree 3 files changed +24
-1
lines changed
Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -3,4 +3,16 @@ language: node_js
33node_js :
44 - " 8"
55 - " 10"
6- - " 12"
6+ - " 12"
7+
8+ cache : npm
9+
10+ install :
11+ - npm install
12+
13+ before_script :
14+ - npm run build
15+
16+ script :
17+ - npm test
18+ - npm run report-coverage
Original file line number Diff line number Diff line change 22
33[ ![ npm] ( https://img.shields.io/npm/v/catch-react-error?style=flat-square )] ( https://www.npmjs.com/package/catch-react-error )
44
5+ [ ![ Build Status] ( https://travis-ci.org/x-orpheus/catch-react-error.svg?branch=master )] ( https://travis-ci.org/x-orpheus/catch-react-error )
6+
7+ [ ![ codecov] ( https://codecov.io/gh/x-orpheus/catch-react-error/branch/master/graph/badge.svg )] ( https://codecov.io/gh/x-orpheus/catch-react-error )
8+
59## 简介
610对于 React 生命周期中发生的错误,只需要使用 ErrorBoundary 组件包裹可能出现异常的组件即可。
711
Original file line number Diff line number Diff line change 1+ ### TODO
2+
3+ - build/test status in Readme.md
4+ - example 的动态图对比
5+ - 文档的英文翻译
6+ - jest 覆盖率
7+ - 安全警告
You can’t perform that action at this time.
0 commit comments