diff --git a/README.md b/README.md index e69406e..ec55f39 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,16 @@ A Phaser 3 Project Template -## How to run: +### Requirements -`npm run build` +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 0112b62..a5822bc 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "phaser3-project-template", - "version": "1.0.7", + "version": "1.0.8", "description": "A Phaser 3 Project Template", "main": "src/index.js", "scripts": { "build": "webpack", - "start": "webpack-dev-server" + "start": "npm run build && live-server --port=8000" }, "repository": { "type": "git",