{
  "name": "croppie",
  "version": "2.0.1",
  "description": "A simple javascript image cropper",
  "main": "croppie.js",
  "dependencies": {
    "mocha": "2.4.5"
  },
  "scripts": {
    "test": "mocha test/unit"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Foliotek/Croppie.git"
  },
  "keywords": [
    "crop",
    "cropper",
    "image",
    "cropping"
  ],
  "authors": [
    "Dustin Smith <thedustinsmith@gmail.com>",
    "Ethan Calvert <calvert1591@gmail.com>"
  ],
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/Foliotek/Croppie/issues"
  },
  "homepage": "http://foliotek.github.io/Croppie",
  "files": [
    "croppie.css",
    "croppie.js",
    "croppie.min.js"
  ]
}

{
  "name": "croppie",
  "version": "2.0.1",
  "description": "A simple javascript image cropper",
  "main": "croppie.js",
  "devDependencies": {
    "mocha": "2.4.5"
  },
  "scripts": {
    "test": "mocha test/unit"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Foliotek/Croppie.git"
  },
  "keywords": [
    "crop",
    "cropper",
    "image",
    "cropping"
  ],
  "authors": [
    "Dustin Smith <thedustinsmith@gmail.com>",
    "Ethan Calvert <calvert1591@gmail.com>"
  ],
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/Foliotek/Croppie/issues"
  },
  "homepage": "http://foliotek.github.io/Croppie",
  "files": [
    "croppie.css",
    "croppie.js",
    "croppie.min.js"
  ]
}

Move dependency on mocha to "devDependencies"
Move dependency on mocha to "devDependencies"

Package "mocha" is not used outside of the development workflow in this project. It doesn't make sense for it to be included as direct package "dependency" as when this package it used in production it will now pull "mocha" (which in turn has a number of dependencies).

Moving "mocha" out to "devDependencies" will still let you run `npm test`, but thanks to this change apps that depend on "croppie" won't be required to pull in "mocha".