UNPKG

jest-wake-lock-mock

Version:

Mock Screen Wake Lock API `navigator.wakeLock` with ease and run your tests using Jest

66 lines (65 loc) 1.54 kB
{ "name": "jest-wake-lock-mock", "version": "1.1.0", "description": "Mock Screen Wake Lock API `navigator.wakeLock` with ease and run your tests using Jest", "author": { "name": "Joris", "email": "me@joris.re", "url": "https://joris.re" }, "license": "MIT", "homepage": "https://github.com/jorisre/jest-wake-lock-mock#readme", "repository": { "type": "git", "url": "https://github.com/jorisre/jest-wake-lock-mock.git" }, "bugs": { "url": "https://github.com/jorisre/jest-wake-lock-mock/issues" }, "keywords": [ "wakeLock", "wake-lock", "jest", "mock", "test", "Screen Wake Lock", "navigator.wakeLock" ], "main": "dist/index.js", "module": "dist/jest-wake-lock-mock.esm.js", "typings": "dist/index.d.ts", "files": [ "dist", "src" ], "engines": { "node": ">=10" }, "scripts": { "start": "tsdx watch", "build": "tsdx build", "test": "tsdx test", "lint": "tsdx lint", "prepare": "tsdx build", "semantic-release": "semantic-release" }, "peerDependencies": {}, "prettier": { "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "es5" }, "devDependencies": { "@commitlint/cli": "^11.0.0", "@commitlint/config-angular": "^11.0.0", "@types/dom-screen-wake-lock": "^1.0.0", "babel-eslint": "^10.1.0", "husky": "^4.3.0", "semantic-release": "^17.2.2", "ts-jest": "^26.4.3", "tsdx": "^0.14.1", "tslib": "^2.0.3", "typescript": "^4.0.5" } }