@capacitor-community/keep-awake
Advanced tools
Comparing version 5.0.1 to 6.0.0
@@ -0,0 +0,0 @@ export interface KeepAwakePlugin { |
export {}; | ||
//# sourceMappingURL=definitions.js.map |
@@ -0,0 +0,0 @@ import type { KeepAwakePlugin } from './definitions'; |
import { registerPlugin } from '@capacitor/core'; | ||
const KeepAwake = registerPlugin('KeepAwake', { | ||
web: () => import('./web').then(m => new m.KeepAwakeWeb()), | ||
web: () => import('./web').then((m) => new m.KeepAwakeWeb()), | ||
}); | ||
@@ -5,0 +5,0 @@ export * from './definitions'; |
@@ -0,0 +0,0 @@ import { WebPlugin } from '@capacitor/core'; |
@@ -0,0 +0,0 @@ import { WebPlugin } from '@capacitor/core'; |
@@ -8,3 +8,3 @@ 'use strict'; | ||
const KeepAwake = core.registerPlugin('KeepAwake', { | ||
web: () => Promise.resolve().then(function () { return web; }).then(m => new m.KeepAwakeWeb()), | ||
web: () => Promise.resolve().then(function () { return web; }).then((m) => new m.KeepAwakeWeb()), | ||
}); | ||
@@ -11,0 +11,0 @@ |
@@ -5,3 +5,3 @@ var capacitorKeepAwake = (function (exports, core) { | ||
const KeepAwake = core.registerPlugin('KeepAwake', { | ||
web: () => Promise.resolve().then(function () { return web; }).then(m => new m.KeepAwakeWeb()), | ||
web: () => Promise.resolve().then(function () { return web; }).then((m) => new m.KeepAwakeWeb()), | ||
}); | ||
@@ -8,0 +8,0 @@ |
{ | ||
"name": "@capacitor-community/keep-awake", | ||
"version": "5.0.1", | ||
"version": "6.0.0", | ||
"description": "Prevent your screen from getting some sleep!", | ||
@@ -38,6 +38,6 @@ "main": "dist/plugin.cjs.js", | ||
"eslint": "eslint . --ext ts", | ||
"prettier": "prettier \"**/*.{css,html,ts,js,java}\"", | ||
"prettier": "prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java", | ||
"swiftlint": "node-swiftlint", | ||
"docgen": "docgen --api KeepAwakePlugin --output-readme README.md --output-json dist/docs.json", | ||
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.js", | ||
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs", | ||
"clean": "rimraf ./dist", | ||
@@ -49,22 +49,22 @@ "watch": "tsc --watch", | ||
"devDependencies": { | ||
"@capacitor/android": "6.0.0", | ||
"@capacitor/cli": "6.0.0", | ||
"@capacitor/core": "6.0.0", | ||
"@capacitor/docgen": "0.2.0", | ||
"@capacitor/ios": "6.0.0", | ||
"@ionic/eslint-config": "0.3.0", | ||
"@ionic/prettier-config": "1.0.1", | ||
"@ionic/swiftlint-config": "1.1.2", | ||
"@capacitor/android": "^7.0.0", | ||
"@capacitor/cli": "^7.0.0", | ||
"@capacitor/core": "^7.0.0", | ||
"@capacitor/docgen": "^0.3.0", | ||
"@capacitor/ios": "^7.0.0", | ||
"@ionic/eslint-config": "^0.4.0", | ||
"@ionic/prettier-config": "^4.0.0", | ||
"@ionic/swiftlint-config": "^2.0.0", | ||
"@types/dom-screen-wake-lock": "1.0.0", | ||
"eslint": "7.32.0", | ||
"prettier": "2.3.2", | ||
"prettier-plugin-java": "1.0.2", | ||
"rimraf": "3.0.2", | ||
"rollup": "2.77.2", | ||
"eslint": "^8.57.0", | ||
"prettier": "^3.4.2", | ||
"prettier-plugin-java": "^2.6.6", | ||
"rimraf": "^6.0.1", | ||
"rollup": "^4.30.1", | ||
"standard-version": "9.5.0", | ||
"swiftlint": "1.0.1", | ||
"swiftlint": "^2.0.0", | ||
"typescript": "4.1.5" | ||
}, | ||
"peerDependencies": { | ||
"@capacitor/core": "^6.0.0" | ||
"@capacitor/core": ">=7.0.0" | ||
}, | ||
@@ -71,0 +71,0 @@ "prettier": "@ionic/prettier-config", |
@@ -9,3 +9,3 @@ <p align="center"><br><img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" /></p> | ||
<p align="center"> | ||
<img src="https://img.shields.io/maintenance/yes/2024?style=flat-square" /> | ||
<img src="https://img.shields.io/maintenance/yes/2025?style=flat-square" /> | ||
<a href="https://github.com/capacitor-community/keep-awake/actions?query=workflow%3A%22CI%22"><img src="https://img.shields.io/github/actions/workflow/status/capacitor-community/keep-awake/ci.yml?branch=master&style=flat-square" /></a> | ||
@@ -12,0 +12,0 @@ <a href="https://www.npmjs.com/package/@capacitor-community/keep-awake"><img src="https://img.shields.io/npm/l/@capacitor-community/keep-awake?style=flat-square" /></a> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
38279
363