diff --git a/README.md b/README.md index 1080ecb..bfb456c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # phaser3-project-template A Phaser 3 Project Template + +## How to run: + +npm start \ No newline at end of file diff --git a/package.json b/package.json index 03ac2a5..a9e5ef1 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "A Phaser 3 Project Template", "main": "src/index.js", "scripts": { - "build": "webpack" + "build": "webpack", + "start": "npm run build && node_modules/.bin/live-server --port=8000" }, "repository": { "type": "git", @@ -18,6 +19,7 @@ }, "homepage": "https://github.com/photonstorm/phaser3-project-template#readme", "devDependencies": { + "live-server": "^1.2.0", "phaser": "^3.0.0-alpha.2", "webpack": "^3.4.1" }