code: function readJson(filePath) {
      var json = {};
  
      try {
          var content = fs.readFileSync(path.resolve(process.cwd(), filePath), {
              encoding: 'utf-8'
          });
          json = JSON.parse(stripJsonComments(content));
      } catch (error) {
          console.error(error);
      }
  
      return json;
  }
docs: 从当前工作目录下读取 JSON 文件返回 JS 对象
  
  @param {string} path
  @return {object}