Browse Source

Change name to lrserver

master
Brett Langdon 8 years ago
parent
commit
684c9ec898
No known key found for this signature in database GPG Key ID: B664881177781B04
3 changed files with 16 additions and 15 deletions
  1. +9
    -9
      README.md
  2. +1
    -1
      package-lock.json
  3. +6
    -5
      package.json

+ 9
- 9
README.md View File

@ -5,14 +5,14 @@
## Installation
```bash
npm install livereload-server
npm install lrserver
```
## Usage
```
$ livereload-server --help
livereload-server
$ lrserver --help
lrserver
Positionals:
serve The directory to serve static files from [string]
@ -29,20 +29,20 @@ Options:
```bash
# Use default settings and serve static files from current directory
livereload-server
lrserver
# Explicitly set the path to serve files from
livereload-server path/to/files/
lrserver path/to/files/
# Explicitly set the directory to watch and path to serve files from
livereload-server --watch path/to/watch/ path/to/files/
lrserver --watch path/to/watch/ path/to/files/
# Setting multiple paths to watch
livereload-server --watch path/1/ --watch path/2/ path/to/files/
lrserver --watch path/1/ --watch path/2/ path/to/files/
# Change the port the static server binds to
livereload-server --bind '0.0.0.0:3000'
lrserver --bind '0.0.0.0:3000'
# Change the port the LiveReload server binds to
livereload-server -lrbind '0.0.0.0:35729'
lrserver --lrbind '0.0.0.0:35729'
```

+ 1
- 1
package-lock.json View File

@ -1,5 +1,5 @@
{
"name": "livereload-server",
"name": "lrserver",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,


+ 6
- 5
package.json View File

@ -1,21 +1,22 @@
{
"name": "livereload-server",
"name": "lrserver",
"version": "1.0.0",
"description": "LiveReload static file server that injects livereload-js into HTML files",
"main": "main.js",
"bin": {
"livereload-server": "./main.js"
"lrserver": "./main.js",
"lrs": "./main.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/brettlangdon/livereload-server.git"
"url": "git+https://github.com/brettlangdon/lrserver.git"
},
"author": "Brett Langdon <me@brett.is>",
"license": "ISC",
"bugs": {
"url": "https://github.com/brettlangdon/livereload-server/issues"
"url": "https://github.com/brettlangdon/lrserver/issues"
},
"homepage": "https://github.com/brettlangdon/livereload-server",
"homepage": "https://github.com/brettlangdon/lrserver",
"dependencies": {
"connect-livereload": "^0.6.0",
"express": "^4.16.2",


Loading…
Cancel
Save