@hamaadraza/puppeteer-extra-plugin-adblocker
Version:
A puppeteer-extra plugin to block ads and trackers.
112 lines (111 loc) • 3.02 kB
JSON
{
"name": "@hamaadraza/puppeteer-extra-plugin-adblocker",
"version": "2.13.8",
"description": "A puppeteer-extra plugin to block ads and trackers.",
"keywords": [
"puppeteer",
"puppeteer-extra",
"puppeteer-extra-plugin",
"ads",
"adblocker",
"adblocking",
"ghostery",
"hamaadraza"
],
"homepage": "https://github.com/hamaadraza/puppeteer-extra-plugin-adblocker",
"bugs": {
"url": "https://github.com/hamaadraza/puppeteer-extra-plugin-adblocker/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hamaadraza/puppeteer-extra-plugin-adblocker.git"
},
"license": "MIT",
"author": "hamaadraza",
"type": "module",
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js",
"default": "./dist/index.js"
}
},
"main": "dist/index.cjs.js",
"files": [
"dist"
],
"scripts": {
"clean": "rimraf dist",
"tscheck": "tsc --pretty --noEmit",
"prebuild": "run-s clean",
"build": "run-s build:tsc build:rollup check-version",
"build:tsc": "tsc --module commonjs --rootDir src",
"build:rollup": "rollup -c rollup.config.mjs",
"check-version": "node build_version_check.cjs",
"docs": "node -e 0",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"test": "ava -v --config ava.config-ts.mjs",
"pretest-ci": "run-s build",
"test-ci-back": "ava --concurrency 1 --serial --fail-fast -v",
"test-ci": "exit 0",
"build:dev": "tsc --module commonjs"
},
"dependencies": {
"@ghostery/adblocker-puppeteer": "^2.5.0",
"cross-fetch": "^4.1.0",
"debug": "^4.4.0",
"puppeteer-extra-plugin": "^3.2.3"
},
"devDependencies": {
"@ava/typescript": "^5.0.0",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@types/debug": "^4.1.12",
"@types/node": "^22.13.9",
"@types/node-fetch": "^2.6.12",
"@types/puppeteer": "*",
"@typescript-eslint/eslint-plugin": "^8.26.0",
"@typescript-eslint/parser": "^8.26.0",
"ava": "^6.2.0",
"eslint": "^9.21.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"npm-run-all": "^4.1.5",
"puppeteer": "^24.3.1",
"puppeteer-extra": "^3.3.6",
"rimraf": "^6.0.1",
"rollup": "^4.34.9",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.36.0",
"ts-node": "^10.9.2",
"typescript": "5.2"
},
"peerDependencies": {
"puppeteer": "*",
"puppeteer-core": "*",
"puppeteer-extra": "*"
},
"peerDependenciesMeta": {
"puppeteer": {
"optional": true
},
"puppeteer-core": {
"optional": true
},
"puppeteer-extra": {
"optional": true
}
},
"engines": {
"node": ">=18"
},
"module": "dist/index.esm.js",
"typings": "dist/index.d.ts",
"prettier": {
"printWidth": 80,
"semi": false,
"singleQuote": true
}
}