{
	"name": "webext-dynamic-content-scripts",
	"version": "10.0.4",
	"description": "WebExtension module: Automatically registers your `content_scripts` on domains added via `permission.request` or on `activeTab`",
	"keywords": [
		"contentscript",
		"register",
		"injection",
		"permissions",
		"request",
		"optional_permissions",
		"manifest",
		"new hosts",
		"chrome",
		"firefox",
		"browser",
		"activetab",
		"extension"
	],
	"repository": "fregante/webext-dynamic-content-scripts",
	"funding": "https://github.com/sponsors/fregante",
	"license": "MIT",
	"author": "Federico Brigante <me@fregante.com> (https://fregante.com)",
	"type": "module",
	"exports": {
		".": {
			"types": "./distribution/index.d.ts",
			"default": "./distribution/index.js"
		},
		"./including-active-tab.js": {
			"types": "./distribution/including-active-tab.d.ts",
			"default": "./distribution/including-active-tab.js"
		},
		"./utils.js": {
			"types": "./distribution/utils.d.ts",
			"default": "./distribution/utils.js"
		}
	},
	"scripts": {
		"build": "tsc",
		"demo:build": "parcel build --no-cache",
		"demo:watch": "parcel watch --no-cache --no-hmr",
		"prejest": "npm run demo:build",
		"jest": "TARGET=2 npm run jest:core && TARGET=3 npm run jest:core",
		"vitest": "vitest",
		"jest:core": "NODE_OPTIONS=--experimental-vm-modules JEST_PUPPETEER_CONFIG=jest-puppeteer.config.cjs jest",
		"prepack": "tsc --sourceMap false && npm pkg delete alias #parcel#8920",
		"lint": "xo",
		"fix": "xo --fix",
		"test": "run-p lint vitest jest",
		"watch": "tsc --watch"
	},
	"xo": {
		"envs": [
			"browser",
			"webextensions"
		],
		"rules": {
			"no-implicit-globals": "off",
			"@typescript-eslint/prefer-nullish-coalescing": "off",
			"@typescript-eslint/no-implicit-any-catch": "off",
			"@typescript-eslint/naming-convention": "off",
			"import/extensions": "off",
			"import/no-unassigned-import": "off",
			"unicorn/prefer-top-level-await": "off",
			"unicorn/prefer-node-protocol": "off",
			"n/file-extension-in-import": "off"
		}
	},
	"jest": {
		"preset": "jest-puppeteer",
		"testMatch": [
			"**/test/*.js"
		]
	},
	"dependencies": {
		"content-scripts-register-polyfill": "^4.0.2",
		"webext-content-scripts": "^2.7.0",
		"webext-detect": "^5.0.2",
		"webext-events": "^3.0.1",
		"webext-patterns": "^1.5.0",
		"webext-permissions": "^3.1.3",
		"webext-polyfill-kinda": "^1.0.2"
	},
	"devDependencies": {
		"@parcel/config-webextension": "^2.12.0",
		"@sindresorhus/tsconfig": "^6.0.0",
		"@types/chrome": "^0.0.268",
		"@types/firefox-webext-browser": "^120.0.4",
		"@types/jest": "^29.5.12",
		"expect-puppeteer": "^10.0.0",
		"jest": "^29.7.0",
		"jest-chrome": "^0.8.0",
		"jest-puppeteer": "^10.0.1",
		"npm-run-all": "^4.1.5",
		"parcel": "^2.12.0",
		"puppeteer": "^21.3.6",
		"typescript": "^5.5.2",
		"vitest": "^1.6.0",
		"xo": "^0.58.0"
	},
	"@parcel/resolver-default": {
		"packageExports": true
	},
	"targets": {
		"main": false,
		"module": false,
		"mv2": {
			"source": "./test/demo-extension/mv2/manifest.json",
			"distDir": "./test/dist/mv2",
			"sourceMap": {
				"inline": true
			},
			"optimize": false
		},
		"mv3": {
			"source": "./test/demo-extension/mv3/manifest.json",
			"distDir": "./test/dist/mv3",
			"sourceMap": {
				"inline": true
			},
			"optimize": false
		}
	},
	"webExt": {
		"sourceDir": "test/dist/mv2",
		"run": {
			"startUrl": [
				"https://static-ephiframe.vercel.app/Static",
				"https://static-ephiframe.vercel.app/Static?iframe=./Inner",
				"https://dynamic-ephiframe.vercel.app/Dynamic",
				"https://dynamic-ephiframe.vercel.app/Dynamic?iframe=./Inner",
				"https://dynamic-ephiframe.vercel.app/Dynamic?iframe=https://static-ephiframe.vercel.app/Static-inner",
				"https://static-ephiframe.vercel.app/Static?iframe=https://dynamic-ephiframe.vercel.app/Dynamic-inner",
				"https://extra-ephiframe.vercel.app/Inject-via-context-menu-please",
				"https://extra-ephiframe.vercel.app/Inject-via-context-menu-please?iframe=https://static-ephiframe.vercel.app/Static-inner",
				"https://extra-ephiframe.vercel.app/Inject-via-context-menu-please?iframe=https://dynamic-ephiframe.vercel.app/Dynamic-inner",
				"chrome://extensions/"
			]
		}
	}
}
