{
  "name": "analytics",
  "displayName": "Flashpoint Analytics",
  "author": "Colin Berry",
  "version": "2.0.0",
  "launcherVersion": "10.0.0",
  "description": "Opt-in collection of information on Flashpoint usage.",
  "icon": "icon.png",
  "main": "./dist/ext.js",
  "contributes": {
    "configuration": [
      {
        "title": "Flashpoint Analytics",
        "properties": {
          "com.analytics.basic": {
            "title": "Essential (Restart Required)",
            "type": "boolean",
            "default": false,
            "description": "Enables collection of basic data. (Launcher Version / Startup Events)"
          },
          "com.analytics.games": {
            "title": "Games",
            "type": "boolean",
            "default": false,
            "description": "Enables collection of Game launch statistics. (Game Launches)"
          },
          "com.analytics.php-reporting": {
            "title": "PHP Reporting",
            "description": "Helps with repacking Legacy Games into zips. Listens for Games trying to load files from the PHP server and reports the ID and URL pair.",
            "type": "boolean",
            "default": false
          },
          "com.analytics.hardware": {
            "title": "Simplified Hardware Info",
            "description": "Sends back simplified hardware info, includes Operating System version and Total System Memory",
            "type": "boolean",
            "default": false
          },
          "com.analytics.delete-button": {
            "title": "Submit Deletion Request",
            "description": "Opens the deletion form in browser, disables all analytics and randomizes a new User ID.",
            "type": "button",
            "command": "com.analytics.deletion-request"
          }
        }
      }
    ]
  },
  "devDependencies": {
    "@types/flashpoint-launcher": "^10.1.0",
    "@types/node": "18.11.18",
    "@types/uuid": "^8.3.0",
    "gulp": "^4.0.2",
    "gulp-cli": "^2.3.0",
    "gulp-zip": "^4.2.0",
    "merge-stream": "^2.0.0",
    "ts-loader": "8.0.3",
    "typescript": "4.0.2",
    "webpack": "^5.75.0",
    "webpack-cli": "5.0.1"
  },
  "scripts": {
    "package": "gulp",
    "build": "webpack --mode development",
    "watch": "webpack --mode development --watch"
  },
  "dependencies": {
    "arch": "^2.2.0",
    "axios": "^0.27.2",
    "open": "^8.0.7",
    "ts-debounce": "^2.0.1",
    "uuid": "^8.3.2"
  },
  "config": {
    "host": "https://analytics.unstable.life/",
    "generalToken": "0xc0ffee"
  }
}
