Merge pull request #4 from EvoluoGames/npm-script-and-doc

Remove path into npm script & update documentation
This commit is contained in:
Richard Davey
2018-03-07 11:21:54 +00:00
committed by GitHub
2 changed files with 14 additions and 4 deletions
+12 -2
View File
@@ -2,6 +2,16 @@
A Phaser 3 Project Template 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. <br> Press `Ctrl + c` to kill **http-server** process. |
=======
+2 -2
View File
@@ -1,11 +1,11 @@
{ {
"name": "phaser3-project-template", "name": "phaser3-project-template",
"version": "1.0.7", "version": "1.0.8",
"description": "A Phaser 3 Project Template", "description": "A Phaser 3 Project Template",
"main": "src/index.js", "main": "src/index.js",
"scripts": { "scripts": {
"build": "webpack", "build": "webpack",
"start": "webpack-dev-server" "start": "npm run build && live-server --port=8000"
}, },
"repository": { "repository": {
"type": "git", "type": "git",