Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

dev dependencies

  • Loading branch information...
commit dc610bb91de4b500549db6d6c973a6195121c35a 1 parent a14a9bc
Jairaj Sethi authored

Showing 2 changed files with 15 additions and 2 deletions. Show diff stats Hide diff stats

  1. +4 2 package.json
  2. +11 0 run.js
6 package.json
@@ -2,7 +2,7 @@
2 2 "author": "Jairaj Sethi <j@jairaj.org> (http://jairaj.org/)",
3 3 "name": "zerver",
4 4 "description": "client-integrated webapp server",
5   - "version": "0.9.3",
  5 + "version": "0.9.4",
6 6 "repository": {
7 7 "type": "git",
8 8 "url": "git://github.com/jairajs89/zerver.git"
@@ -14,7 +14,9 @@
14 14 "dependencies": {
15 15 "mime" : "1.2.7" ,
16 16 "uglify-js" : "1.3.4" ,
17   - "less" : "1.3.3" ,
  17 + "less" : "1.3.3"
  18 + },
  19 + "devDependencies": {
18 20 "stalker" : "0.0.20" ,
19 21 "findit" : "0.1.2" ,
20 22 "socket.io" : "0.9.11"
11 run.js
@@ -274,6 +274,17 @@ function main () {
274 274 return;
275 275 }
276 276
  277 + try {
  278 + require('socket.io');
  279 + require('findit' );
  280 + require('stalker' );
  281 + }
  282 + catch (err) {
  283 + console.error('zerver debug mode requires dev dependencies');
  284 + console.error('run this command: npm install --dev zerver');
  285 + return;
  286 + }
  287 +
277 288 if (LOGGING) {
278 289 cli = setupCLI(function (line) {
279 290 if (child) {

0 comments on commit dc610bb

Please sign in to comment.
Something went wrong with that request. Please try again.