code: function readJson(filePath) {
    try {
      // eslint-disable-next-line import/no-dynamic-require
      const content = require(filePath)
      delete require.cache[require.resolve(filePath)]
      return content
    } catch (err) {
      return null
    }
  }
docs: 读取 json