Skip to content

Commit 73656d9

Browse files
authored
fix: Added semantic release (#47)
* Added semantic release * Semantic release badge
1 parent 3e0452f commit 73656d9

File tree

4 files changed

+1480
-431
lines changed

4 files changed

+1480
-431
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ script:
1414
after_success:
1515
- cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js
1616
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
17+
- npx semantic-release
1718

1819
branches:
1920
only:

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,41 @@
11
# react-virtualized-tree
22

3-
43
[![Travis][build-badge]][build]
54
[![npm package][npm-badge]][npm]
65
[![Coveralls][coveralls-badge]][coveralls]
76

87
[build-badge]: https://img.shields.io/travis/diogofcunha/react-virtualized-tree/master.png?style=flat-square
98
[build]: https://travis-ci.org/diogofcunha/react-virtualized-tree
10-
119
[npm-badge]: https://img.shields.io/npm/v/react-virtualized-tree.png?style=flat-square
1210
[npm]: https://www.npmjs.com/package/react-virtualized-tree
13-
1411
[coveralls-badge]: https://img.shields.io/coveralls/diogofcunha/react-virtualized-tree/master.png?style=flat-square
1512
[coveralls]: https://coveralls.io/github/diogofcunha/react-virtualized-tree
1613

14+
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
15+
1716
<div align="center" style="margin-bottom: 30px;">
1817
<img src="https://user-images.githubusercontent.com/1521183/37708046-14cf3fb4-2cfd-11e8-9fad-8c0d557397cd.gif" width="650"/>
1918
</div>
2019

2120
## Introduction
21+
2222
**react-virtualized-tree** is a tree view react library built on top of [react-virtualized](https://bvaughn.github.io/react-virtualized/#/components/List)
2323

2424
Its main goal is to display tree like data in a beautiful and fast way. Being a reactive library it uses children functions to achieve maximum extensibility. The core idea behind it is that anyone using it is enable to create a tree as they intent just by rendering their own components or components exported by the tree.
2525

2626
Demo and docs can be found [in here](https://diogofcunha.github.io/react-virtualized-tree/#/examples/basic-tree).
2727

2828
## Installation
29+
2930
You can install via npm or yarn.
30-
`npm i react-virtualized-tree --save`
31+
`npm i react-virtualized-tree --save`
3132

3233
or
3334

3435
`yarn add react-virtualized-tree`
3536

3637
To get the basic styles for free you need to import react-virtualized styles only once.
38+
3739
```
3840
import 'react-virtualized/styles.css'
3941
import 'react-virtualized-tree/lib/main.css'
@@ -53,6 +55,6 @@ To use the FilteringContainer
5355

5456
`import { FilteringContainer } from 'react-virtualized-tree'`
5557

56-
5758
## Dependencies
59+
5860
Most react-virtualized-tree Dependencies are managed internally, the only required peerDependencies are **react**, **react-dom** and **react-virtualized**.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"react-router-dom": "^4.2.2",
6060
"react-test-renderer": "^16.2.0",
6161
"react-virtualized": "^9.18.5",
62+
"semantic-release": "^15.6.3",
6263
"semantic-ui-react": "^0.77.1",
6364
"stats-webpack-plugin": "^0.6.2",
6465
"webpack-bundle-analyzer": "^2.12.0"

0 commit comments

Comments
 (0)