raphamorim / react-tv

[ Unmaintained due to raphamorim/react-ape ] React Renderer for low memory applications
https://www.npmjs.com/package/react-tv
MIT License
2.01k stars 148 forks source link

Abstract package metadata for multiple platforms #111

Open ricobl opened 6 years ago

ricobl commented 6 years ago

Metadata files like webOS' appinfo.json should be generated from config on the package.json file.

Additionally, the config should allow extending specific platform metadata.

Here is a proposal of the data structure to accomplish this:

{
  "react-tv": {
    "metadata": {
      "generic": {
        "id": "react.tv.app",
        "title": "playkit-tv",
        "...": "..."
      },
      "webos": {
        "vendor": "webos vendor"
      }
    }
  }
}