{
  "name": "reqres",
  "version": "1.1.1",
  "description": "Stub request and response objects for testing express applications and middleware",
  "main": "index.js",
  "scripts": {
    "lint": "eslint ./lib",
    "unit": "mocha ./test --require ./test/helpers --recursive",
    "test": "npm run lint && npm run unit"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/lennym/reqres.git"
  },
  "keywords": [
    "express",
    "stub",
    "testing"
  ],
  "author": "Leonard Martin <hello@lennym.co.uk>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/lennym/reqres/issues"
  },
  "homepage": "https://github.com/lennym/reqres",
  "dependencies": {
    "lodash": "^3.6.0",
    "sinon": "^1.14.1"
  },
  "devDependencies": {
    "chai": "^2.2.0",
    "eslint": "^0.18.0",
    "express": "^4.12.3",
    "mocha": "^2.2.4",
    "sinon": "^1.14.1",
    "sinon-chai": "^2.7.0"
  }
}

{
  "name": "reqres",
  "version": "1.1.1",
  "description": "Stub request and response objects for testing express applications and middleware",
  "main": "index.js",
  "scripts": {
    "lint": "eslint ./lib",
    "unit": "mocha ./test --require ./test/helpers --recursive",
    "examples": "mocha ./examples --recursive",
    "test": "npm run lint && npm run unit && npm run examples"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/lennym/reqres.git"
  },
  "keywords": [
    "express",
    "stub",
    "testing"
  ],
  "author": "Leonard Martin <hello@lennym.co.uk>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/lennym/reqres/issues"
  },
  "homepage": "https://github.com/lennym/reqres",
  "dependencies": {
    "lodash": "^3.6.0",
    "sinon": "^1.14.1"
  },
  "devDependencies": {
    "chai": "^2.2.0",
    "eslint": "^0.18.0",
    "express": "^4.12.3",
    "mocha": "^2.2.4",
    "sinon": "^1.14.1",
    "sinon-chai": "^2.7.0"
  }
}

Add examples to test command
Add examples to test command

Ensuring the examples run successfully is integral to the project, and so should be included as part of the tests. They also provide a useful check on the integrity of the code.
