From c0b078952ed7938ef8ffe8be2ec032462a4a89db Mon Sep 17 00:00:00 2001 From: Lloyd Brookes Date: Fri, 7 Jul 2017 13:27:17 +0100 Subject: [PATCH] readme, deps --- README.md | 11 ++++------- package.json | 6 +++--- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 2f24b1f..173bfe1 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Features: ## Synopsis -This package installs the `ws` command-line tool (take a look at the [usage guide](https://github.com/lwsjs/local-web-server/wiki/CLI-usage)). The most simple use case is to run `ws` without any arguments - this will **host the current directory as a static web site**. Navigating to the server will render your `index.html` or show a directory listing, if you don't have one. +This package installs the `ws` command-line tool (take a look at the [usage guide](https://github.com/lwsjs/local-web-server/wiki/CLI-usage)). The most simple use case is to run `ws` without any arguments - this will **host the current directory as a static web site**. Navigating to the server will render a directory listing or your `index.html`, if that file exists. ```sh $ ws @@ -115,20 +115,17 @@ $ curl http://127.0.0.1:8000/users { "id": 1, "name": "Lloyd", - "age": 40, - "nationality": "English" + "age": 40 }, { "id": 2, "name": "Mona", - "age": 34, - "nationality": "Palestinian" + "age": 34 }, { "id": 3, "name": "Francesco", - "age": 24, - "nationality": "Italian" + "age": 24 }, { "id": 4, diff --git a/package.json b/package.json index a7462d9..96dd249 100644 --- a/package.json +++ b/package.json @@ -42,9 +42,9 @@ "lws-json": "^0.3.2", "lws-log": "^0.3.0", "lws-mime": "^0.2.1", - "lws-mock-response": "^0.2.4", - "lws-request-monitor": "^0.1.0", - "lws-rewrite": "^0.3.4", + "lws-mock-response": "^0.3.0", + "lws-request-monitor": "^0.1.2", + "lws-rewrite": "^0.3.5", "lws-spa": "^0.2.2", "lws-static": "^0.3.4" },