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

View File

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

View File

@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
declare var window: any;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
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 { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
export interface DeeplinkMatch {

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
declare var navigator: any;

View File

@ -1,5 +1,5 @@
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 { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
/**

View File

@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
declare var cordova: any;

View File

@ -1,5 +1,5 @@
import { Plugin, CordovaInstance } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
declare var cordova: any;

View File

@ -1,5 +1,5 @@
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 { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
declare var navigator: any;

View File

@ -1,5 +1,5 @@
import { CordovaInstance, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
declare var Media: any;

View File

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

View File

@ -1,5 +1,5 @@
import { Cordova, CordovaProperty, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
declare var navigator: any;

View File

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

View File

@ -1,5 +1,5 @@
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 { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
declare var window;
declare var Promise;

View File

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

View File

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