Revert "chore(package): bump dependencies and lint rules"

This reverts commit 21ad4734fa.
This commit is contained in:
Daniel
2018-03-16 22:04:01 +01:00
parent 21ad4734fa
commit 6c938bfdb7
178 changed files with 4221 additions and 10592 deletions
+7 -15
View File
@@ -1,5 +1,6 @@
import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
/**
* @name Insomnia
@@ -33,32 +34,23 @@ import { Cordova, IonicNativePlugin, Plugin } 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; }
}