Skip to content

Commit

Permalink
Add documentation how to build the demo
Browse files Browse the repository at this point in the history
  • Loading branch information
pablosichert committed Oct 28, 2016
1 parent d9a4090 commit 5236b87
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.nyc_output
demo
lib
node_modules
*.log
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,19 @@ Compile to ES5 from /src to /lib
npm run compile
```

Initialize demo project
```
$ git clone [email protected]:One-com/react-truncate demo
$ cd demo
demo $ git checkout gh-pages
demo $ npm install
```

Build demo
```
demo $ npm run compile
```

[npm-url]: https://npmjs.org/package/react-truncate
[downloads-image]: http://img.shields.io/npm/dm/react-truncate.svg
[npm-image]: https://badge.fury.io/js/react-truncate.svg
Expand Down

0 comments on commit 5236b87

Please sign in to comment.