feat(build): Support ES2015 modules

This commit is contained in:
Max Lynch 2016-09-21 15:04:46 -05:00
parent 3903fee2bf
commit 4014972feb
30 changed files with 34 additions and 34 deletions

View File

@ -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",

View File

@ -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,

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 {

View File

@ -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

View File

@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin'; import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs'; import { Observable } from 'rxjs/Observable';
/** /**

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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

View File

@ -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.

View File

@ -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;

View File

@ -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';
/** /**

View File

@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin'; import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs'; import { Observable } from 'rxjs/Observable';
/** /**

View File

@ -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;

View File

@ -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;

View File

@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin'; import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs'; import { Observable } from 'rxjs/Observable';
/** /**

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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;

View File

@ -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

View File

@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin'; import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs'; import { Observable } from 'rxjs/Observable';
/** /**

View File

@ -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;

View File

@ -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

View File

@ -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 {