manifest json example

Example 1: manifest.json basic structure

//this is the basic structure of the manifest.json of browser extensions
{
    "name":"demo",
    "version":"1.1",
    "manifest_version":2,

    "description":"a demo extesion for learning purpose",
    "browser_action":{
        "default_title":"a demo title",
        "default_popup":"popup.html"
    },
    "permissions": ["http://*", "https://*" ]
}

Example 2: manifest.json

# manifest.json in your react project inside public folder

This provides application metadata for Progressive Web Apps. For
example, the file allows installation of your application on a mobile phone’s home
screen, similar to native apps. It contains the app name, icons, theme colors, and other
data needed to make your app installable.