Skip to content

Commit

Permalink
Increase node version to 6.0 LTS and update packages to latest minor …
Browse files Browse the repository at this point in the history
…versions
  • Loading branch information
Atanamo committed Mar 4, 2018
1 parent d72269a commit 8fba5ae
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 27 deletions.
13 changes: 0 additions & 13 deletions deplist.txt

This file was deleted.

20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "IRC-Gateway",
"version": "1.3.0",
"version": "1.3.1",
"description": "The IRC Gateway server and client for the game SG-Realities",
"keywords": [
"SGR",
Expand All @@ -19,22 +19,22 @@
"url": "https://git.assembla.com/irc-gateway.git"
},
"engines": {
"node": ">= 4.4.0",
"npm": ">= 2.10.0"
"node": ">= 6.0.0",
"npm": ">= 3.0.0"
},
"scripts": {
"preinstall": "npm install coffee-script@1.10.0 -g",
"preinstall": "npm install coffee-script@1.12.7 -g",
"install": "cake build"
},
"dependencies": {
"q": "~1.4.1",
"express": "~4.13.0",
"socket.io": "~1.4.5",
"irc": "~0.4.1",
"mysql": "~2.10.2"
"q": "~1.5.1",
"express": "~4.16.2",
"socket.io": "~1.7.4",
"irc": "~0.5.2",
"mysql": "~2.15.0"
},
"devDependencies": {
"coffee-script": "1.10.0"
"coffee-script": "1.12.7"
},
"bundleDependencies": [],
"private": true,
Expand Down
8 changes: 4 additions & 4 deletions src_coffee/server/main.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ db = new Database() # Create database wrapper object
log = Logger

## Set object to global scope
GLOBAL.Q = Q
GLOBAL.io = io
GLOBAL.db = db
GLOBAL.log = log
global.Q = Q
global.io = io
global.db = db
global.log = log


## Main class
Expand Down

0 comments on commit 8fba5ae

Please sign in to comment.