webext-patterns
Version:
Tool to convert the patterns and globs of your WebExtension manifest to regex
61 lines (60 loc) • 1.27 kB
JSON
{
"name": "webext-patterns",
"version": "3.0.0",
"description": "Tool to convert the patterns and globs of your WebExtension manifest to regex",
"keywords": [
"browser",
"chrome",
"extension",
"firefox",
"glob",
"permission",
"greasemonkey",
"user scripts",
"globs",
"userscript",
"match",
"webext"
],
"repository": "fregante/webext-patterns",
"funding": "https://github.com/sponsors/fregante",
"license": "MIT",
"author": "Federico Brigante <me@fregante.com> (https://fregante.com)",
"type": "module",
"exports": "./distribution/index.js",
"types": "./distribution/index.d.ts",
"files": [
"distribution/index.js",
"distribution/index.d.ts"
],
"scripts": {
"build": "tsc",
"fix": "xo --fix",
"lint": "xo",
"prepare": "tsc --sourceMap false",
"test": "tsc && vitest run && xo",
"watch": "tsc --watch"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^8.1.0",
"@types/chrome": "^0.1.39",
"globals": "^17.4.0",
"sinon": "^21.0.3",
"type-fest": "^5.5.0",
"typescript": "^6.0.2",
"vitest": "^4.1.2",
"xo": "^2.0.2"
},
"engines": {
"node": ">=24"
},
"webExt": {
"sourceDir": "demo-extension",
"run": {
"startUrl": [
"chrome://extensions/",
"https://example.com/"
]
}
}
}