From 36fc05aa2b1a8de452f19cf2a593af6426d5cfe7 Mon Sep 17 00:00:00 2001 From: evoluo games Date: Sun, 24 Sep 2017 00:17:25 +0200 Subject: [PATCH 1/6] 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", From 38ce292530add52b964bd1185818cc1d88a4ad64 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Fri, 2 Feb 2018 12:07:05 +0000 Subject: [PATCH 2/6] Added raw-loader to package.json. Fixes #7 #6 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0b37459..4c24a31 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "homepage": "https://github.com/photonstorm/phaser3-project-template#readme", "devDependencies": { "webpack-dev-server": "^2.11.0", - "webpack": "^3.4.1" + "webpack": "^3.4.1", + "raw-loader": "^0.5.1" }, "dependencies": { "phaser": "^3.0.0-beta.20" From 357d98628e3abad585b17f5cab737a382885c172 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Wed, 21 Feb 2018 09:43:28 +0000 Subject: [PATCH 3/6] Updated required Phaser version. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 4c24a31..09ca44e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "phaser3-project-template", - "version": "1.0.4", + "version": "1.0.5", "description": "A Phaser 3 Project Template", "main": "src/index.js", "scripts": { @@ -24,6 +24,6 @@ "raw-loader": "^0.5.1" }, "dependencies": { - "phaser": "^3.0.0-beta.20" + "phaser": "^3.1.1" } } From a60b55237638dad3781b2f7433c5e011742bacf4 Mon Sep 17 00:00:00 2001 From: Can Delibas Date: Sat, 24 Feb 2018 08:10:34 +0300 Subject: [PATCH 4/6] Updated required Phaser version --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 09ca44e..f030c5d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "phaser3-project-template", - "version": "1.0.5", + "version": "1.0.6", "description": "A Phaser 3 Project Template", "main": "src/index.js", "scripts": { @@ -24,6 +24,6 @@ "raw-loader": "^0.5.1" }, "dependencies": { - "phaser": "^3.1.1" + "phaser": "^3.1.2" } } From eaca1987cb72772dbeb2869833271627a7dee83f Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Wed, 7 Mar 2018 11:18:48 +0000 Subject: [PATCH 5/6] Updated to 3.2.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f030c5d..0112b62 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "phaser3-project-template", - "version": "1.0.6", + "version": "1.0.7", "description": "A Phaser 3 Project Template", "main": "src/index.js", "scripts": { @@ -24,6 +24,6 @@ "raw-loader": "^0.5.1" }, "dependencies": { - "phaser": "^3.1.2" + "phaser": "^3.2.0" } } From b392fe65cb0a806fbef6f046a8a770fe4a5e3060 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Tue, 27 Mar 2018 02:46:47 +0100 Subject: [PATCH 6/6] Fixed start script and updated phaser. Fix #10 #9 --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a5822bc..2ad373b 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "phaser3-project-template", - "version": "1.0.8", + "version": "1.0.9", "description": "A Phaser 3 Project Template", "main": "src/index.js", "scripts": { "build": "webpack", - "start": "npm run build && live-server --port=8000" + "start": "npm run build && webpack-dev-server --port=8000" }, "repository": { "type": "git", @@ -24,6 +24,6 @@ "raw-loader": "^0.5.1" }, "dependencies": { - "phaser": "^3.2.0" + "phaser": "^3.3.0" } }