Code Climate

Code Climate

A Chrome extension for Code Climate

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "Code Climate",
  "version": "735",
  "homepage_url": "https://codeclimate.com",
  "icons": {
    "128": "icons/icon128.png"
  },
  "content_scripts": [
    {
      "matches": [
        "https://github.com/*"
      ],
      "js": [
        "js/content.js"
      ],
      "css": [
        "vendor/octicons/octicons.css",
        "vendor/bentonsans/benton.css",
        "stylesheets/styles.css"
      ]
    },
    {
      "matches": [
        "https://codeclimate.com/*",
        "https://api.codeclimate.com/*"
      ],
      "js": [
        "js/cc_content.js"
      ]
    }
  ],
  "background": {
    "service_worker": "js/background.js"
  },
  "permissions": [
    "cookies",
    "storage"
  ],
  "manifest_version": 3,
  "description": "A Chrome extension for Code Climate",
  "options_page": "options.html",
  "action": {
    "default_icon": "icons/icon64.png",
    "default_popup": "popup.html"
  },
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'"
  },
  "host_permissions": [
    "https://github.com/*",
    "https://codeclimate.com/*",
    "https://api.codeclimate.com/*"
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "badges/*",
        "icons/*",
        "vendor/octicons/octicons.eot",
        "vendor/octicons/octicons.svg",
        "vendor/octicons/octicons.ttf",
        "vendor/octicons/octicons.woff",
        "vendor/bentonsans/*",
        "vendor/snowplow/2.7.0/*"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ]
}