{
  "name": "whook",
  "version": "0.0.0",
  "description": "Build strong and efficient REST web services.",
  "main": "dist/index.js",
  "scripts": {
    "test": "mocha src/**/*.mocha.js",
    "compile": "babel src --out-dir=dist",
    "prepublish": "npm run compile"
  },
  "keywords": [
    "REST",
    "HTTP",
    "server",
    "web",
    "services"
  ],
  "author": "Nicolas Froidure",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/nfroidure/whook.git"
  },
  "bugs": {
    "url": "https://github.com/nfroidure/whook/issues"
  },
  "homepage": "https://github.com/nfroidure/whook",
  "devDependencies": {
    "babel": "^5.2.15",
    "mocha": "^2.2.4",
    "neatequal": "^1.0.0",
    "sinon": "^1.14.1",
    "streamtest": "^1.2.0"
  },
  "dependencies": {
    "miniquery": "^1.0.0",
    "string-to-stream": "^1.0.1"
  }
}

{
  "name": "whook",
  "version": "0.0.0",
  "description": "Build strong and efficient REST web services.",
  "main": "dist/index.js",
  "scripts": {
    "test": "mocha --compilers js:babel/register src/**/*.mocha.js",
    "compile": "babel src --out-dir=dist",
    "prepublish": "npm run compile"
  },
  "keywords": [
    "REST",
    "HTTP",
    "server",
    "web",
    "services"
  ],
  "author": "Nicolas Froidure",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/nfroidure/whook.git"
  },
  "bugs": {
    "url": "https://github.com/nfroidure/whook/issues"
  },
  "homepage": "https://github.com/nfroidure/whook",
  "devDependencies": {
    "babel": "^5.2.15",
    "mocha": "^2.2.4",
    "neatequal": "^1.0.0",
    "sinon": "^1.14.1",
    "streamtest": "^1.2.0"
  },
  "dependencies": {
    "miniquery": "^1.0.0",
    "string-to-stream": "^1.0.1"
  }
}

Use babel in mocha directly
Use babel in mocha directly
