mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
feat(build): Support ES2015 modules
This commit is contained in:
parent
3903fee2bf
commit
4014972feb
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ionic-native",
|
||||
"version": "1.3.21",
|
||||
"version": "1.3.22",
|
||||
"description": "Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support",
|
||||
"main": "dist/es5/index.js",
|
||||
"typings": "dist/es5/index.d.ts",
|
||||
@ -9,7 +9,7 @@
|
||||
"dist"
|
||||
],
|
||||
"dependencies": {
|
||||
"@reactivex/rxjs": "^5.0.0-beta.11"
|
||||
"rxjs": "^5.0.0-beta.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"browserify": "^13.0.1",
|
||||
|
@ -156,14 +156,14 @@ AppVersion,
|
||||
Badge,
|
||||
BarcodeScanner,
|
||||
Base64ToGallery,
|
||||
BatteryStatus,
|
||||
// BatteryStatus,
|
||||
Brightness,
|
||||
BLE,
|
||||
BluetoothSerial,
|
||||
CallNumber,
|
||||
CameraPreview,
|
||||
Clipboard,
|
||||
CodePush,
|
||||
// CodePush,
|
||||
Crop,
|
||||
DBMeter,
|
||||
Deeplinks,
|
||||
@ -172,7 +172,7 @@ Dialogs,
|
||||
Diagnostic,
|
||||
EmailComposer,
|
||||
EstimoteBeacons,
|
||||
File,
|
||||
// File,
|
||||
FileChooser,
|
||||
FileOpener,
|
||||
Flashlight,
|
||||
@ -204,7 +204,7 @@ Splashscreen,
|
||||
SQLite,
|
||||
StatusBar,
|
||||
TouchID,
|
||||
Transfer,
|
||||
// Transfer,
|
||||
TextToSpeech,
|
||||
Vibration,
|
||||
WebIntent,
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
|
||||
declare var window: any;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
/**
|
||||
* @name AdMob
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
/**
|
||||
* @name Battery Status
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
/**
|
||||
* @name BLE
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
/**
|
||||
* @name Bluetooth Serial
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
|
||||
export interface CameraPreviewRect {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
// below are taken from
|
||||
// https://raw.githubusercontent.com/Microsoft/cordova-plugin-code-push/master/typings/codePush.d.ts
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
|
||||
export interface DeeplinkMatch {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
|
||||
export interface AccelerationData {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
|
||||
export interface CompassHeading {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
/**
|
||||
* @name EstimoteBeacons
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
/**
|
||||
* @name Geofence
|
||||
* @description Monitors circular geofences around latitude/longitude coordinates, and sends a notification to the user when the boundary of a geofence is crossed. Notifications can be sent when the user enters and/or exits a geofence.
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
|
||||
declare var navigator: any;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, CordovaInstance, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
|
||||
declare var cordova: any;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Plugin, CordovaInstance } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
declare var cordova: any;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, CordovaProperty, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
|
||||
declare var navigator: any;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { CordovaInstance, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
|
||||
declare var Media: any;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Plugin, Cordova } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
/**
|
||||
* @name MusicControls
|
||||
* @description
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, CordovaProperty, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
|
||||
declare var navigator: any;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Plugin, Cordova } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
/**
|
||||
* @name NFC
|
||||
* @description
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { get } from '../util';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
declare var window;
|
||||
declare var Promise;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Plugin, Cordova } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
/**
|
||||
* @name Shake
|
||||
* @description Handles shake gesture
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin } from './plugin';
|
||||
import { Observable } from '@reactivex/rxjs';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
|
||||
export interface ToastOptions {
|
||||
|
Loading…
Reference in New Issue
Block a user