UNPKG

cypress-browser-permissions

Version:

A Cypress plugin package to handle setting common browser permissions like notifications, geolocation, images, and more

92 lines (91 loc) 2.42 kB
{ "name": "cypress-browser-permissions", "version": "1.1.0", "description": "A Cypress plugin package to handle setting common browser permissions like notifications, geolocation, images, and more", "main": "index.js", "types": "index.d.ts", "scripts": { "lint": "eslint \"./src/**/*.{js,ts,tsx}\"", "test": "jest", "test:watch": "jest --watchAll", "cypress": "cypress open", "cypress:run": "cypress run", "build": "tsc", "watch": "tsc -w", "start": "npm link && nodemon", "semantic-release": "semantic-release", "docs": "typedoc src/index.ts", "prepare:ci": "npx copyfiles -s package.json README.md CHANGELOG.md LICENSE dist/" }, "repository": { "type": "git", "url": "https://github.com/kamranayub/cypress-browser-permissions.git" }, "keywords": [ "cypress", "cypress-plugin", "browser", "e2e", "permissions", "notifications", "geolocation", "camera", "microphone" ], "author": { "name": "Kamran Ayub", "email": "kamran@hey.com" }, "license": "MIT", "bugs": { "url": "https://github.com/kamranayub/cypress-browser-permissions/issues" }, "homepage": "https://github.com/kamranayub/cypress-browser-permissions#readme", "husky": { "hooks": { "pre-commit": "lint-staged", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "devDependencies": { "@commitlint/cli": "14.1.0", "@commitlint/config-conventional": "14.1.0", "@semantic-release/changelog": "6.0.1", "@types/jest": "27.0.2", "@types/lodash": "4.14.157", "@types/node": "16.11.7", "@typescript-eslint/eslint-plugin": "5.4.0", "@typescript-eslint/parser": "5.4.0", "cypress": "9.0.0", "doctoc": "2.1.0", "eslint": "8.2.0", "eslint-config-prettier": "8.3.0", "eslint-plugin-cypress": "2.12.1", "eslint-plugin-prettier": "4.0.0", "husky": "4.2.5", "jest": "27.3.1", "lint-staged": "10.2.11", "nodemon": "2.0.15", "prettier": "2.4.1", "semantic-release": "18.0.0", "ts-jest": "27.0.7", "typedoc": "0.22.9", "typescript": "4.4.4" }, "files": [ "**/*" ], "dependencies": { "lodash": "4.17.21" }, "peerDependencies": { "cypress": ">= 4" }, "lint-staged": { "*.{ts,tsx,js}": [ "eslint --fix", "npm test -- --coverage=false" ], "README.md": "doctoc README.md" } }