Merge pull request #4 from EvoluoGames/npm-script-and-doc
Remove path into npm script & update documentation
This commit is contained in:
@@ -2,6 +2,16 @@
|
||||
|
||||
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
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "phaser3-project-template",
|
||||
"version": "1.0.7",
|
||||
"version": "1.0.8",
|
||||
"description": "A Phaser 3 Project Template",
|
||||
"main": "src/index.js",
|
||||
"scripts": {
|
||||
"build": "webpack",
|
||||
"start": "webpack-dev-server"
|
||||
"start": "npm run build && live-server --port=8000"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user