UNPKG

modulant-js

Version:

Stealth web extension framework for intercepting and routing web requests

123 lines (122 loc) 2.7 kB
{ "name": "modulant-js", "version": "0.1.1", "description": "Stealth web extension framework for intercepting and routing web requests", "main": "src/modulant.js", "type": "commonjs", "files": [ "src/", "README.md", "API.md", "TLDR.md" ], "scripts": { "test": "playwright test --config=config/playwright.config.js", "test:debug": "PWDEBUG=1 playwright test --config=config/playwright.config.js --headed --timeout 0", "test:console": "DEBUG=modulant:* playwright test --config=config/playwright.config.js", "dev": "npx http-server .", "lint": "eslint .", "prepare": "npm run lint && npm test", "prepublishOnly": "npm test && npm run lint", "version": "git add -A src", "postversion": "git push && git push --tags" }, "dependencies": { "debug": "^4.3.7" }, "devDependencies": { "@playwright/test": "^1.32.3", "axios": "^0.21.1", "body-parser": "^1.19.0", "chai": "^4.3.7", "chai-as-promised": "^8.0.0", "cors": "^2.8.5", "eslint": "^8.36.0", "express": "^4.17.1", "http-server": "^14.1.1", "jsdom": "^21.1.1", "jsdom-global": "^3.0.2", "mocha": "^10.2.0", "node-fetch": "^2.7.0", "qs": "^6.13.1", "sinon": "^15.0.3" }, "keywords": [ "web-extension", "proxy", "request-interceptor", "cors-bypass", "web-manipulation", "stealth", "iframe-proxy", "request-routing", "web-enhancement" ], "author": "steake", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/54rkaz71k/ModulantJS.git" }, "bugs": { "url": "https://github.com/54rkaz71k/ModulantJS/issues" }, "homepage": "https://github.com/54rkaz71k/ModulantJS#readme", "eslintConfig": { "env": { "browser": true, "es2021": true, "mocha": true, "node": true }, "extends": "eslint:recommended", "parserOptions": { "ecmaVersion": 2021, "sourceType": "script" }, "rules": { "no-console": [ "warn", { "allow": [ "warn", "error" ] } ], "indent": [ "error", 2 ], "semi": [ "error", "always" ], "no-unused-vars": [ "error", { "argsIgnorePattern": "^_" } ] }, "overrides": [ { "files": [ "tests/**/*", "config/**/*" ], "rules": { "no-console": "off" } }, { "files": [ "src/modulant.js" ], "rules": { "no-console": "off" } } ] } }