{
	"name": "webext-detect",
	"version": "5.3.2",
	"description": "Detects where the current browser extension code is being run. Compatible with Firefox, Chrome and derivates.",
	"keywords": [
		"background page",
		"browser",
		"chrome",
		"content script",
		"detect",
		"extension",
		"context",
		"firefox",
		"safari",
		"options page",
		"web-ext",
		"webext",
		"where"
	],
	"repository": "fregante/webext-detect",
	"funding": "https://github.com/sponsors/fregante",
	"license": "MIT",
	"author": "Federico Brigante <me@fregante.com> (https://fregante.com)",
	"sideEffects": false,
	"type": "module",
	"exports": "./index.js",
	"types": "./index.d.ts",
	"files": [
		"index.js",
		"index.d.ts"
	],
	"scripts": {
		"build": "tsc",
		"demo:build": "NODE_NO_WARNINGS=1 parcel build --no-cache",
		"demo:watch": "NODE_NO_WARNINGS=1 parcel watch --no-cache --no-hmr",
		"prepare": "tsc --sourceMap false",
		"test": "xo && tsc && node index.js",
		"watch": "tsc --watch"
	},
	"xo": {
		"rules": {
			"n/no-unsupported-features/node-builtins": "off",
			"unicorn/prevent-abbreviations": [
				"error",
				{
					"replacements": {
						"dev": false
					}
				}
			]
		}
	},
	"devDependencies": {
		"@parcel/config-webextension": "^2.12.1-canary.3358",
		"@parcel/resolver-default": "^2.0.0-canary.1735",
		"@sindresorhus/tsconfig": "^6.0.0",
		"@types/chrome": "^0.0.280",
		"parcel": "^2.0.0-canary.1733",
		"typescript": "^5.6.3",
		"xo": "^0.59.3"
	},
	"engines": {
		"node": ">=18"
	},
	"@parcel/resolver-default": {
		"packageExports": true
	},
	"targets": {
		"main": false,
		"default": {
			"source": "demo/manifest.json",
			"distDir": "./distribution",
			"sourceMap": {
				"inline": true
			}
		}
	},
	"webExt": {
		"sourceDir": "distribution",
		"run": {
			"startUrl": [
				"https://example.com"
			]
		}
	}
}
