UNPKG

is-website-vulnerable

Version:

finds publicly known security vulnerabilities in a website's frontend JavaScript libraries

222 lines (221 loc) 5.43 kB
{ "name": "is-website-vulnerable", "version": "1.14.15", "description": "finds publicly known security vulnerabilities in a website's frontend JavaScript libraries", "main": "index.js", "bin": { "is-website-vulnerable": "./bin/is-website-vulnerable.js" }, "publishConfig": { "provenance": true, "access": "public" }, "engines": { "node": ">=10.0.0" }, "scripts": { "lint": "eslint . && npm run lint:lockfile", "lint:lockfile": "lockfile-lint --path npm-shrinkwrap.json --type npm --validate-https --allowed-hosts npm", "lint:fix": "eslint . --fix", "format": "prettier --config .prettierrc.js --write '**/*.js'", "test": "jest", "test:watch": "jest --watch", "coverage:view": "open-cli coverage/lcov-report/index.html" }, "author": { "name": "Liran Tal", "email": "liran.tal@gmail.com", "url": "https://github.com/lirantal" }, "license": "Apache-2.0", "keywords": [ "security", "vulnerabilities", "website", "scan", "lighthouse", "audit" ], "homepage": "https://github.com/lirantal/is-website-vulnerable", "bugs": { "url": "https://github.com/lirantal/is-website-vulnerable/issues" }, "repository": { "type": "git", "url": "https://github.com/lirantal/is-website-vulnerable.git" }, "dependencies": { "chalk": "3.0.0", "debug": "4.1.1", "enquirer": "^2.3.4", "is-url-superb": "^3.0.0", "lighthouse": "6.0.0", "ora": "4.0.3", "yargs": "16.0.0" }, "devDependencies": { "@commitlint/cli": "^8.3.5", "@commitlint/config-conventional": "^8.3.4", "babel-eslint": "^10.0.3", "babel-plugin-syntax-async-functions": "^6.13.0", "babel-plugin-transform-regenerator": "^6.26.0", "babel-preset-env": "^1.7.0", "cz-conventional-changelog": "^3.1.0", "eslint": "^6.8.0", "eslint-config-standard": "^14.1.0", "eslint-plugin-import": "^2.20.0", "eslint-plugin-jest": "^23.6.0", "eslint-plugin-node": "^11.0.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-security": "^1.4.0", "eslint-plugin-standard": "^4.0.1", "husky": "^4.2.1", "jest": "^25.1.0", "lint-staged": "^10.0.7", "lockfile-lint": "^3.0.9", "open-cli": "^5.0.0", "prettier": "^1.19.1" }, "jest": { "testEnvironment": "node", "verbose": true, "notify": true, "collectCoverage": true, "coverageThreshold": { "global": { "branches": 80, "functions": 80, "lines": 80, "statements": 80 } }, "testPathIgnorePatterns": [ "/__tests__/.*/__fixtures__/.*" ], "collectCoverageFrom": [ "index.js", "src/**/*.{js,ts}" ], "testMatch": [ "**/*.test.js" ] }, "husky": { "hooks": { "commit-msg": "commitlint --env HUSKY_GIT_PARAMS", "pre-commit": "lint-staged", "post-merge": "npm install", "pre-push": "npm run lint && npm run test" } }, "lint-staged": { "**/*.js": [ "npm run format", "git add" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "standard": { "env": [ "jest" ], "parser": "babel-eslint", "ignore": [ "**/out/" ] }, "eslintIgnore": [ "coverage/**" ], "eslintConfig": { "env": { "node": true, "es6": true, "jest": true }, "plugins": [ "import", "standard", "node", "security", "jest" ], "extends": [ "standard", "plugin:node/recommended" ], "rules": { "no-process-exit": "warn", "jest/no-disabled-tests": "error", "jest/no-focused-tests": "error", "jest/no-identical-title": "error", "node/no-unsupported-features": "off", "node/no-unpublished-require": "off", "security/detect-non-literal-fs-filename": "error", "security/detect-unsafe-regex": "error", "security/detect-buffer-noassert": "error", "security/detect-child-process": "error", "security/detect-disable-mustache-escape": "error", "security/detect-eval-with-expression": "error", "security/detect-no-csrf-before-method-override": "error", "security/detect-non-literal-regexp": "error", "security/detect-object-injection": "warn", "security/detect-possible-timing-attacks": "error", "security/detect-pseudoRandomBytes": "error", "space-before-function-paren": "off", "object-curly-spacing": "off" }, "parserOptions": { "ecmaVersion": 8, "ecmaFeatures": { "impliedStrict": true } } }, "release": { "branches": [ "main" ], "analyzeCommits": { "preset": "angular", "releaseRules": [ { "type": "docs", "release": "patch" }, { "type": "refactor", "release": "patch" }, { "type": "style", "release": "patch" } ] } }, "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", [ "@semantic-release/changelog", { "changelogFile": "CHANGELOG.md" } ], "@semantic-release/npm", [ "@semantic-release/git", { "assets": [ "CHANGELOG.md" ] } ], "@semantic-release/github" ] }