Remove path into npm script & update documentation

This commit is contained in:
evoluo games
2017-09-24 00:17:25 +02:00
parent 04f4219ac0
commit 36fc05aa2b
2 changed files with 13 additions and 3 deletions
+12 -2
View File
@@ -1,6 +1,16 @@
# phaser3-project-template
A Phaser 3 Project Template
## How to run:
### Requirements
npm start
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. |
+1 -1
View File
@@ -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",