vue-use-wake-lock
Version:
useWakeLock is the lightweight Vue 3 hook for managing the Wake Lock API — prevents your device from going to sleep.
72 lines (71 loc) • 1.89 kB
JSON
{
"name": "vue-use-wake-lock",
"version": "1.0.2",
"type": "module",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"license": "MIT",
"keywords": [
"vue",
"vue3",
"wake-lock",
"screen-wake-lock-api",
"wake",
"prevent-sleep",
"typescript"
],
"repository": {
"type": "git",
"url": "https://github.com/andreylebedev95/vue-use-wake-lock.git"
},
"bugs": {
"url": "https://github.com/andreylebedev95/vue-use-wake-lock/issues"
},
"homepage": "https://github.com/andreylebedev95/vue-use-wake-lock#readme",
"scripts": {
"dev": "vite",
"build": "run-p type-check \"build-only {@}\" -- && esbuild dist/index.es.js --allow-overwrite --minify --legal-comments=none --outfile=dist/index.es.js",
"preview": "vite preview",
"test:unit": "vitest",
"build-only": "vite build",
"type-check": "vue-tsc --build",
"lint": "eslint . --fix",
"format": "prettier --write src/",
"prepublishOnly": "pnpm build"
},
"peerDependencies": {
"vue": "^3.5.0"
},
"devDependencies": {
"@tsconfig/node22": "^22.0.2",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.16.5",
"@vitejs/plugin-vue": "^6.0.1",
"@vitest/eslint-plugin": "^1.3.4",
"@vue/eslint-config-prettier": "^10.2.0",
"@vue/eslint-config-typescript": "^14.6.0",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.7.0",
"esbuild": "^0.25.8",
"eslint": "^9.31.0",
"eslint-plugin-vue": "~10.3.0",
"jiti": "^2.4.2",
"jsdom": "^26.1.0",
"npm-run-all2": "^8.0.4",
"prettier": "3.6.2",
"typescript": "~5.8.0",
"vite": "^7.0.6",
"vite-plugin-dts": "^4.5.4",
"vite-plugin-vue-devtools": "^8.0.0",
"vitest": "^3.2.4",
"vue-tsc": "^3.0.4"
}
}