Remove path into npm script & update documentation
This commit is contained in:
@@ -1,6 +1,16 @@
|
|||||||
# phaser3-project-template
|
# phaser3-project-template
|
||||||
A Phaser 3 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
@@ -5,7 +5,7 @@
|
|||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack",
|
"build": "webpack",
|
||||||
"start": "npm run build && node_modules/.bin/live-server --port=8000"
|
"start": "npm run build && live-server --port=8000"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user