chore(package): bump dependencies and lint rules

This commit is contained in:
Daniel
2018-03-16 22:04:01 +01:00
parent 7547a94c80
commit 21ad4734fa
178 changed files with 10565 additions and 4194 deletions
+15 -7
View File
@@ -1,6 +1,5 @@
import { Injectable } from '@angular/core';
import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
/**
* @name Insomnia
@@ -34,23 +33,32 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
plugin: 'cordova-plugin-insomnia',
pluginRef: 'plugins.insomnia',
repo: 'https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin',
platforms: ['Android', 'Browser', 'Firefox OS', 'iOS', 'Windows', 'Windows Phone 8']
platforms: [
'Android',
'Browser',
'Firefox OS',
'iOS',
'Windows',
'Windows Phone 8'
]
})
@Injectable()
export class Insomnia extends IonicNativePlugin {
/**
* Keeps awake the application
* @returns {Promise<any>}
*/
@Cordova()
keepAwake(): Promise<any> { return; }
keepAwake(): Promise<any> {
return;
}
/**
* Allows the application to sleep again
* @returns {Promise<any>}
*/
@Cordova()
allowSleepAgain(): Promise<any> { return; }
allowSleepAgain(): Promise<any> {
return;
}
}