Merge pull request #1 from kfern/feature-npm-start

Run the template easily
This commit is contained in:
Richard Davey
2017-08-30 12:59:12 +01:00
committed by GitHub
2 changed files with 7 additions and 1 deletions
+4
View File
@@ -1,2 +1,6 @@
# phaser3-project-template
A Phaser 3 Project Template
## How to run:
npm start
+3 -1
View File
@@ -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"
}