Specify about using as npm script
This commit is contained in:
parent
64c2032568
commit
56fda3de2c
12
README.md
12
README.md
@ -11,6 +11,18 @@ npm install --save-dev remotedev-server
|
||||
|
||||
### Usage
|
||||
|
||||
Add in your app's `package.json`:
|
||||
|
||||
```
|
||||
"scripts": {
|
||||
"remotedev": "remotedev --hostname=localhost --port=8000"
|
||||
}
|
||||
```
|
||||
|
||||
So, you can start local server by running `npm run remotedev`.
|
||||
|
||||
If you install the package globally (not recommended) just run:
|
||||
|
||||
```
|
||||
remotedev --hostname=localhost --port=8000
|
||||
```
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "remotedev-server",
|
||||
"version": "0.0.1",
|
||||
"description": "Run remotedev monitor on your local server.",
|
||||
"description": "Run the RemoteDev monitor on your local server.",
|
||||
"bin": {
|
||||
"remotedev": "bin/remotedev.js"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user