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