{
  "dependencies": {
    "mocha": "5.2.0",
    "@types/mocha": "5.2.5",
    "chai": "4.2.0",
    "@types/chai": "4.1.7",
    "@types/node": "10.12.10",
    "typescript": "3.1.6"
  }
}

{
  "dependencies": {
    "@types/chai": "4.1.7",
    "@types/mocha": "5.2.5",
    "@types/node": "10.12.10",
    "chai": "4.2.0",
    "mocha": "5.2.0",
    "typescript": "3.1.6"
  },
  "scripts": {
    "compile": "./node_modules/.bin/tsc"
  }
}

Add npm script for compilation
Add npm script for compilation
