docs: function getDependencis(file, moduleId) {
      var res = [];
  
      if (!fs.existsSync(file)) {
          return res;
      }
  
      var codeAST = amd.getAst(fs.readFileSync(file));
      var info = amd.analyseModule(codeAST);
  
      var dependencies = info.actualDependencies || [];
  
      return dependencies.slice(info.factoryAst.params.length).map(function (id) {
          return amd.resolveModuleId(id, moduleId);
      });
  }