From 36fc05aa2b1a8de452f19cf2a593af6426d5cfe7 Mon Sep 17 00:00:00 2001 From: evoluo games Date: Sun, 24 Sep 2017 00:17:25 +0200 Subject: [PATCH] Remove path into npm script & update documentation --- README.md | 14 ++++++++++++-- package.json | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bfb456c..b503260 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,16 @@ # phaser3-project-template A Phaser 3 Project Template -## How to run: +### Requirements -npm start \ No newline at end of file +We need [Node.js](https://nodejs.org) to install and run scripts. + + +## Install and run + +Run next commands in your terminal: + +| Command | Description | +|---------|-------------| +| `npm install` | Install dependencies and launch browser with examples.| +| `npm start` | Launch browser to show the examples.
Press `Ctrl + c` to kill **http-server** process. | diff --git a/package.json b/package.json index 3035f43..22c636d 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "src/index.js", "scripts": { "build": "webpack", - "start": "npm run build && node_modules/.bin/live-server --port=8000" + "start": "npm run build && live-server --port=8000" }, "repository": { "type": "git",