@ajayyy/webext-content-scripts
Version:
Utility functions to inject content scripts in WebExtensions, for Manifest v2 and v3
63 lines (62 loc) • 1.42 kB
JSON
{
"name": "@ajayyy/webext-content-scripts",
"version": "2.5.4-safari-fix",
"description": "Utility functions to inject content scripts in WebExtensions, for Manifest v2 and v3",
"keywords": [
"contentscript",
"injection",
"manifest",
"chrome",
"firefox",
"browser",
"extension",
"executefunction",
"executescript",
"insertcss",
"mv2",
"mv3"
],
"repository": "fregante/webext-content-scripts",
"funding": "https://github.com/sponsors/fregante",
"license": "MIT",
"author": "Federico Brigante <me@fregante.com> (https://fregante.com)",
"type": "module",
"exports": "./index.js",
"main": "./index.js",
"types": "./index.d.ts",
"files": [
"index.js",
"index.d.ts",
"types.d.ts"
],
"scripts": {
"build": "tsc",
"prepare": "tsc --sourceMap false",
"test": "xo && tsc --noEmit",
"watch": "tsc --watch"
},
"xo": {
"rules": {
"unicorn/prefer-ternary": "off",
"n/file-extension-in-import": "off",
"@typescript-eslint/no-implicit-any-catch": "off",
"@typescript-eslint/consistent-type-definitions": "off"
}
},
"dependencies": {
"webext-patterns": "^1.3.0",
"webext-polyfill-kinda": "^1.0.2"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^3.0.1",
"@types/chrome": "^0.0.241",
"@types/jest": "^29.5.3",
"jest-chrome": "^0.8.0",
"typescript": "^5.1.6",
"vitest": "^0.33.0",
"xo": "^0.54.2"
},
"engines": {
"node": ">=16"
}
}