UNPKG

@cliqz/autoconsent

Version:

This is a library of rules for navigating through common consent popups on the web. These rules can be run in a Firefox webextension, or in a puppeteer orchestrated headless browser. Using these rules, opt-in and opt-out options can be selected automatica

39 lines (38 loc) 1.34 kB
{ "name": "@cliqz/autoconsent", "version": "0.8.1", "description": "", "main": "dist/autoconsent.cjs.js", "module": "dist/autoconsent.esm.js", "directories": { "lib": "lib" }, "scripts": { "clean": "rm -r dist lib/**/*.js lib/*.js", "build": "tsc", "bundle": "rollup -c", "watch": "rollup -c -w", "start": "web-ext run -s ./addon --firefox firefoxdeveloperedition", "test": "jest", "fetch-fanboy-list": "wget https://www.fanboy.co.nz/fanboy-cookiemonster.txt", "fetch-site-list": "curl https://s3.amazonaws.com/cdn.cliqz.com/re-consent/supported_sites.txt > sites.txt", "build-rules": "node rules/build.js && cp rules/rules.json addon/", "version": "node update_version.js && git add addon/manifest.json", "vendor-copy": "mkdir -p addon/vendor && cp node_modules/mocha/mocha.* addon/vendor/ && cp node_modules/chai/chai.js addon/vendor/", "prepublish": "npm run build-rules && npm run build && npm run bundle" }, "author": "Sam Macbeth", "license": "MPL-2.0", "dependencies": {}, "devDependencies": { "@rollup/plugin-typescript": "^4.0.0", "@types/chai": "^4.2.11", "@types/mocha": "^8.0.0", "chai": "^4.2.0", "mocha": "^8.0.1", "rollup": "^1.32.1", "typescript": "^3.8.3", "web-ext": "^4.2.0", "web-ext-types": "^3.2.1" } }