Skip to content

Commit 43c5fd5

Browse files
committed
Contributing section update
1 parent 7d1842b commit 43c5fd5

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,21 @@ All children components receive the following methods via props:
133133
- `fullscreen`
134134
- `setVolume`
135135

136+
## Contributing
137+
138+
### Dev Setup
139+
140+
To run a server with hot module replacement:
141+
142+
```bash
143+
$ npm install
144+
$ cd demo
145+
$ npm install
146+
$ npm run dev-server
147+
```
148+
149+
Open [http://localhost:8080](http://localhost:8080). You can now modify the files in both `src` and `demo/src`.
150+
136151
## Thank You
137152

138153
<img src="http://mderrick.github.io/react-html5video/browserstack.png?v=1" height="22" width="100" />

demo/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "",
55
"main": "entry.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"dev-server": "node server.js"
89
},
910
"author": "",
1011
"license": "ISC",

0 commit comments

Comments
 (0)