From 21b0f494ef4ff4ab936fdd23a5ca132349105e8e Mon Sep 17 00:00:00 2001 From: Daniel Jackson Date: Sat, 7 Jul 2018 21:56:02 +0100 Subject: [PATCH] Updating readme + not including phaser in original package.json --- README.md | 7 ++++--- bin/install.js | 3 +-- package-lock.json | 5 ----- package.json | 3 +-- 4 files changed, 6 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index df16d5a..0305c00 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Unopinionated (mostly) package containing bare bones Phaser game, containing: -* Phaser (2.6.1) +* Phaser 2 or CE * Typescript * Grunt build process * Basic game @@ -24,10 +24,11 @@ You can run it with `bin/install` ## Building -`grunt dev` for single build or `grunt watch` to compile as you make changes. +- `grunt dev` for single build or `grunt watch` to compile as you make changes. +- `grunt prod` for production (minified) build ## Running Built files are placed into the `public/` directory. Point a webserver at it, and you're away! -`http-server public` \ No newline at end of file +`http-server public` diff --git a/bin/install.js b/bin/install.js index 3eb1d17..e1fd376 100644 --- a/bin/install.js +++ b/bin/install.js @@ -1,7 +1,6 @@ #!/usr/bin/env node var fs = require('fs'), - util = require('util'), spawn = require('child_process').spawn, packageJson = require('../package.json'), prompt; @@ -237,4 +236,4 @@ function styleText(text, colour) { c = colours[colour]; return '\u001b[' + c + 'm' + text + '\u001b[39m'; -} \ No newline at end of file +} diff --git a/package-lock.json b/package-lock.json index 5a22494..fc0db97 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1745,11 +1745,6 @@ "pinkie-promise": "^2.0.0" } }, - "phaser-ce": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/phaser-ce/-/phaser-ce-2.11.0.tgz", - "integrity": "sha512-3y0isbf/gCGIraF9M7fgZQIr5eUvmeb5q5WlIrngqB5ECdm4Q+5wYp/hwosnxaz8xpJk+4bx/EL5uMqZdSCuDQ==" - }, "pify": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", diff --git a/package.json b/package.json index fa9d6c7..23995f6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "phaser-typescript-boilerplate", - "version": "1.5.0", + "version": "1.5.1", "description": "Boilerplate for Phaser using Typescript", "main": "index.js", "scripts": { @@ -23,7 +23,6 @@ "grunt-contrib-uglify": "^3.3.0", "grunt-contrib-watch": "^1.0.0", "grunt-ts": "6.0.0-beta.20", - "phaser-ce": "^2.11.0", "typescript": "^2.9.2" }, "devDependencies": {