{
  "name": "event-registration",
  "version": "0.0.0",
  "private": true,
  "scripts": {
    "start": "node ./bin/www"
  },
  "dependencies": {
    "body-parser": "*",
    "cookie-parser": "*",
    "debug": "*",
    "express": "4.*",
    "express-handlebars": "*",
    "express-session": "*",
    "connect-session-sequelize": "*",
    "morgan": "*",
    "serve-favicon": "*",
    "bluebird": "*",
    "sequelize": "3.*",
    "sqlite3": "*",
    "pg": "*",
    "pg-hstore": "*",
    "browserid-local-verify": "*",
    "browserid-verify": "*",
    "paypal-rest-sdk": "*",
    "mktemp": "*",
    "nodemailer": "*",
    "nodemailer-smtp-transport": "*",
    "country-data": "*"
  },
  "devDependencies": {
    "mocha": "*",
    "supertest": "*",
    "istanbul": "*"
  },
  "scripts": {
    "start": "node ./bin/www",
    "test": "mocha --require test/support/env --reporter spec --bail --check-leaks test/",
    "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --require test/support/env --reporter spec --check-leaks test/",
    "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --require test/support/env --reporter dot --check-leaks test/",
    "test-tap": "mocha --require test/support/env --reporter tap --check-leaks test/"
  }
}

{
  "name": "event-registration",
  "version": "0.0.0",
  "private": true,
  "scripts": {
    "start": "node ./bin/www"
  },
  "dependencies": {
    "body-parser": "*",
    "cookie-parser": "*",
    "debug": "*",
    "express": "4.*",
    "express-handlebars": "*",
    "express-session": "*",
    "connect-session-sequelize": "*",
    "morgan": "*",
    "serve-favicon": "*",
    "bluebird": "*",
    "sequelize": "3.*",
    "sqlite3": "*",
    "pg": "*",
    "pg-hstore": "*",
    "browserid-local-verify": "*",
    "browserid-verify": "*",
    "paypal-rest-sdk": "*",
    "mktemp": "*",
    "nodemailer": "*",
    "nodemailer-smtp-transport": "*",
    "country-data": "*"
  },
  "devDependencies": {
    "mocha": "*",
    "supertest-as-promised": "*",
    "istanbul": "*"
  },
  "scripts": {
    "start": "node ./bin/www",
    "test": "mocha --require test/support/env --reporter spec --bail --check-leaks test/",
    "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --require test/support/env --reporter spec --check-leaks test/",
    "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --require test/support/env --reporter dot --check-leaks test/",
    "test-tap": "mocha --require test/support/env --reporter tap --check-leaks test/"
  }
}

Use supertest-as-promised instead of supertest
Use supertest-as-promised instead of supertest

It's more or less the same but allows you to chain steps together with
Promises (via the 'bluebird' library) instead of having to nest
callbacks.

Supertest 2.0.0 apparently supports the same thing, but I couldn't get
it to work myself and it would also only work with Node 0.11.0 and above
as it requires the built-in Promise implementation, not the 'bluebird'
library.
