forked from pablosichert/react-truncate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add documentation how to build the demo
- Loading branch information
1 parent
d9a4090
commit 5236b87
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.nyc_output | ||
demo | ||
lib | ||
node_modules | ||
*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|