code: function getTypingNamesFromJson(jsonPath, filesToWatch) {
                  if (host.fileExists(jsonPath)) {
                      filesToWatch.push(jsonPath);
                  }
                  var result = ts.readConfigFile(jsonPath, function (path) { return host.readFile(path); });
                  if (result.config) {
                      var jsonConfig = result.config;
                      if (jsonConfig.dependencies) {
                          mergeTypings(ts.getOwnKeys(jsonConfig.dependencies));
                      }
                      if (jsonConfig.devDependencies) {
                          mergeTypings(ts.getOwnKeys(jsonConfig.devDependencies));
                      }
                      if (jsonConfig.optionalDependencies) {
                          mergeTypings(ts.getOwnKeys(jsonConfig.optionalDependencies));
                      }
                      if (jsonConfig.peerDependencies) {
                          mergeTypings(ts.getOwnKeys(jsonConfig.peerDependencies));
                      }
                  }
              }
docs: Get the typing info from common package manager json files like package.json or bower.json