diff --git a/package.json b/package.json index 8f7c2c7c5c..2997d95a3f 100755 --- a/package.json +++ b/package.json @@ -22,14 +22,13 @@ "disable-lint": "tslint \"**/*.ts\" -c tslint.json --fix --type-check -t prose -e \"node_modules/**\" -e \"dist/**\" -e \"temp/**\" -e \"scripts/docs/**\"", "flow.changelog": "conventional-changelog -i CHANGELOG.md -s -p angular", "flow.github-release": "conventional-github-releaser -p angular", - "build": "run-s build.modules build:schematics build.sass build.es2015", + "build": "run-s build.modules build:schematics build.sass", "build.watch": "node scripts/build-modules --watch", "build:schematics": "node scripts/schematics/build", "build.modules": "node scripts/build-modules", "ci:update-pkg": "node scripts/ci/update-pkg.js", "ci:rename-pkg": "mv node_modules/ngx-bootstrap-ci node_modules/ngx-bootstrap", "build.sass": "node-sass --recursive src --output dist --source-map true --source-map-contents sass", - "build.es2015": "node ./scripts/es2015/bundle.es2015.js", "start": "ng serve --aot --host 0.0.0.0", "pretest": "run-s lint build", "test": "ng test && npm run test:schematics", diff --git a/scripts/es2015/bundle.es2015.js b/scripts/es2015/bundle.es2015.js deleted file mode 100644 index d30dff7c02..0000000000 --- a/scripts/es2015/bundle.es2015.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; -const path = require('path'); -const execa = require('execa'); -const fs = require('fs-extra'); -const del = require('del'); -const inlineResources = require('ngm-cli/helpers/inline-resources'); -const src = 'src'; -const tmp = '.tmp'; -const dist = 'dist-es2015'; -const tsconfigPath = '.tmp/tsconfig.json'; - -async function createEs2015Bundle() { - await del(tmp); - console.log('Copying src to temp folder'); - await fs.copy(src, tmp); - const tsconfig = require(path.resolve(tsconfigPath)); - tsconfig.compilerOptions.target = 'es2015'; - tsconfig.compilerOptions.outDir = '../' + dist; - await fs.writeFile(tsconfigPath, JSON.stringify(tsconfig), 'utf8'); - console.log('Inlining templates and styles'); - await inlineResources.inlineResources(tmp); - console.log('Compiling library from temp folder'); - await execa('ngc', ['-p', tmp], { preferLocal: true }); - console.log('Bundling es2015 bundle'); - await execa('rollup --config ./scripts/es2015/es2015.config.js', { shell: true }); - console.log('Removing temp folders'); - await del([tmp, dist]); -} -createEs2015Bundle(); - diff --git a/scripts/es2015/es2015.config.js b/scripts/es2015/es2015.config.js deleted file mode 100644 index a525fd86d9..0000000000 --- a/scripts/es2015/es2015.config.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; -const fs = require('fs-extra'); -const rollup = require('rollup'); -const resolve = require('rollup-plugin-node-resolve'); -const commonjs = require('rollup-plugin-commonjs'); -const ROLLUP_GLOBALS = require('./rollup.globals'); -const libName = 'ngx-bootstrap'; -const PATH_SRC = 'dist-es2015/'; -const PATH_DIST = 'dist/bundles/'; - -export default { - input: PATH_SRC + 'index.js', - output: { - format: 'es', - file: PATH_DIST + libName + '.es2015.js', - sourcemap: true, - name: libName - }, - external: Object.keys(ROLLUP_GLOBALS), - plugins: [ - resolve({ - module: true, - main: true - }), - commonjs({ - include: 'node_modules/**', - }) - ], - onwarn: warning => { - const skip_codes = [ - 'THIS_IS_UNDEFINED', - 'MISSING_GLOBAL_NAME' - ]; - if (skip_codes.indexOf(warning.code) != -1) return; - console.error(warning); - } -}; diff --git a/scripts/es2015/rollup.globals.js b/scripts/es2015/rollup.globals.js deleted file mode 100644 index 3a6a7a83f2..0000000000 --- a/scripts/es2015/rollup.globals.js +++ /dev/null @@ -1,397 +0,0 @@ -module.exports = { - // Angular dependencies - '@angular/animations': 'ng.animations', - '@angular/core': 'ng.core', - '@angular/common': 'ng.common', - '@angular/common/http': 'ng.common.http', - '@angular/forms': 'ng.forms', - '@angular/http': 'ng.http', - '@angular/router': 'ng.router', - '@angular/platform-browser': 'ng.platformBrowser', - '@angular/platform-browser-dynamic': 'ng.platformBrowserDynamic', - '@angular/platform-browser/animations': 'ng.platformBrowser.animations', - // RxJS dependencies - 'rxjs/AnonymousSubject': 'Rx', - 'rxjs/AsyncSubject': 'Rx', - 'rxjs/BehaviorSubject': 'Rx', - 'rxjs/Notifiction': 'Rx', - 'rxjs/ObservableInput': 'Rx', - 'rxjs/Observable': 'Rx', - 'rxjs/Observer': 'Rx', - 'rxjs/ReplaySubject': 'Rx', - 'rxjs/Scheduler': 'Rx', - 'rxjs/Subject': 'Rx', - 'rxjs/SubjectSubscriber': 'Rx', - 'rxjs/SubscribableOrPromise': 'Rx', - 'rxjs/Subscriber': 'Rx', - 'rxjs/Subscription': 'Rx', - 'rxjs/TeardownLogic': 'Rx', - 'rxjs/add/observable/bindCallback': 'Rx.Observable', - 'rxjs/add/observable/bindNodeCallback': 'Rx.Observable', - 'rxjs/add/observable/combineLatest': 'Rx.Observable', - 'rxjs/add/observable/concat': 'Rx.Observable', - 'rxjs/add/observable/create': 'Rx.Observable', - 'rxjs/add/observable/defer': 'Rx.Observable', - 'rxjs/add/observable/empty': 'Rx.Observable', - 'rxjs/add/observable/forkJoin': 'Rx.Observable', - 'rxjs/add/observable/from': 'Rx.Observable', - 'rxjs/add/observable/fromEvent': 'Rx.Observable', - 'rxjs/add/observable/fromEventPattern': 'Rx.Observable', - 'rxjs/add/observable/fromPromise': 'Rx.Observable', - 'rxjs/add/observable/interval': 'Rx.Observable', - 'rxjs/add/observable/merge': 'Rx.Observable', - 'rxjs/add/observable/never': 'Rx.Observable', - 'rxjs/add/observable/of': 'Rx.Observable', - 'rxjs/add/observable/range': 'Rx.Observable', - 'rxjs/add/observable/throw': 'Rx.Observable', - 'rxjs/add/observable/timer': 'Rx.Observable', - 'rxjs/add/observable/webSocket': 'Rx.Observable', - 'rxjs/add/observable/zip': 'Rx.Observable', - 'rxjs/add/observable': 'Rx.Observable', - 'rxjs/add/operator/audit': 'Rx.Observable.prototype', - 'rxjs/add/operator/auditTime': 'Rx.Observable.prototype', - 'rxjs/add/operator/buffer': 'Rx.Observable.prototype', - 'rxjs/add/operator/bufferCount': 'Rx.Observable.prototype', - 'rxjs/add/operator/bufferTime': 'Rx.Observable.prototype', - 'rxjs/add/operator/bufferToggle': 'Rx.Observable.prototype', - 'rxjs/add/operator/bufferWhen': 'Rx.Observable.prototype', - 'rxjs/add/operator/catch': 'Rx.Observable.prototype', - 'rxjs/add/operator/combineAll': 'Rx.Observable.prototype', - 'rxjs/add/operator/combineLatest': 'Rx.Observable.prototype', - 'rxjs/add/operator/concat': 'Rx.Observable.prototype', - 'rxjs/add/operator/concatAll': 'Rx.Observable.prototype', - 'rxjs/add/operator/concatMap': 'Rx.Observable.prototype', - 'rxjs/add/operator/concatMapTo': 'Rx.Observable.prototype', - 'rxjs/add/operator/count': 'Rx.Observable.prototype', - 'rxjs/add/operator/debounce': 'Rx.Observable.prototype', - 'rxjs/add/operator/debounceTime': 'Rx.Observable.prototype', - 'rxjs/add/operator/defaultIfEmpty': 'Rx.Observable.prototype', - 'rxjs/add/operator/delay': 'Rx.Observable.prototype', - 'rxjs/add/operator/delayWhen': 'Rx.Observable.prototype', - 'rxjs/add/operator/dematerialize': 'Rx.Observable.prototype', - 'rxjs/add/operator/distinct': 'Rx.Observable.prototype', - 'rxjs/add/operator/distinctUntilChanged': 'Rx.Observable.prototype', - 'rxjs/add/operator/distinctUntilKeyChanged': 'Rx.Observable.prototype', - 'rxjs/add/operator/do': 'Rx.Observable.prototype', - 'rxjs/add/operator/elementAt': 'Rx.Observable.prototype', - 'rxjs/add/operator/every': 'Rx.Observable.prototype', - 'rxjs/add/operator/exhaust': 'Rx.Observable.prototype', - 'rxjs/add/operator/exhaustMap': 'Rx.Observable.prototype', - 'rxjs/add/operator/expand': 'Rx.Observable.prototype', - 'rxjs/add/operator/filter': 'Rx.Observable.prototype', - 'rxjs/add/operator/finally': 'Rx.Observable.prototype', - 'rxjs/add/operator/find': 'Rx.Observable.prototype', - 'rxjs/add/operator/findIndex': 'Rx.Observable.prototype', - 'rxjs/add/operator/first': 'Rx.Observable.prototype', - 'rxjs/add/operator/forEach': 'Rx.Observable.prototype', - 'rxjs/add/operator/groupBy': 'Rx.Observable.prototype', - 'rxjs/add/operator/ignoreElements': 'Rx.Observable.prototype', - 'rxjs/add/operator/isEmpty': 'Rx.Observable.prototype', - 'rxjs/add/operator/last': 'Rx.Observable.prototype', - 'rxjs/add/operator/let': 'Rx.Observable.prototype', - 'rxjs/add/operator/letProto': 'Rx.Observable.prototype', - 'rxjs/add/operator/lift': 'Rx.Observable.prototype', - 'rxjs/add/operator/map': 'Rx.Observable.prototype', - 'rxjs/add/operator/mapTo': 'Rx.Observable.prototype', - 'rxjs/add/operator/materialize': 'Rx.Observable.prototype', - 'rxjs/add/operator/max': 'Rx.Observable.prototype', - 'rxjs/add/operator/merge': 'Rx.Observable.prototype', - 'rxjs/add/operator/mergeAll': 'Rx.Observable.prototype', - 'rxjs/add/operator/mergeMap': 'Rx.Observable.prototype', - 'rxjs/add/operator/mergeMapTo': 'Rx.Observable.prototype', - 'rxjs/add/operator/mergeScan': 'Rx.Observable.prototype', - 'rxjs/add/operator/min': 'Rx.Observable.prototype', - 'rxjs/add/operator/multicast': 'Rx.Observable.prototype', - 'rxjs/add/operator/observeOn': 'Rx.Observable.prototype', - 'rxjs/add/operator/pairwise': 'Rx.Observable.prototype', - 'rxjs/add/operator/partition': 'Rx.Observable.prototype', - 'rxjs/add/operator/pluck': 'Rx.Observable.prototype', - 'rxjs/add/operator/publish': 'Rx.Observable.prototype', - 'rxjs/add/operator/publishBehavior':'Rx.Observable.prototype', - 'rxjs/add/operator/publishLast': 'Rx.Observable.prototype', - 'rxjs/add/operator/publishReplay': 'Rx.Observable.prototype', - 'rxjs/add/operator/race': 'Rx.Observable.prototype', - 'rxjs/add/operator/reduce': 'Rx.Observable.prototype', - 'rxjs/add/operator/repeat': 'Rx.Observable.prototype', - 'rxjs/add/operator/repeatWhen': 'Rx.Observable.prototype', - 'rxjs/add/operator/retry': 'Rx.Observable.prototype', - 'rxjs/add/operator/retryWhen': 'Rx.Observable.prototype', - 'rxjs/add/operator/sample': 'Rx.Observable.prototype', - 'rxjs/add/operator/sampleTime': 'Rx.Observable.prototype', - 'rxjs/add/operator/scan': 'Rx.Observable.prototype', - 'rxjs/add/operator/sequenceEqual': 'Rx.Observable.prototype', - 'rxjs/add/operator/share': 'Rx.Observable.prototype', - 'rxjs/add/operator/single': 'Rx.Observable.prototype', - 'rxjs/add/operator/skip': 'Rx.Observable.prototype', - 'rxjs/add/operator/skipUntil': 'Rx.Observable.prototype', - 'rxjs/add/operator/skipWhile': 'Rx.Observable.prototype', - 'rxjs/add/operator/startWith': 'Rx.Observable.prototype', - 'rxjs/add/operator/subscribeOn': 'Rx.Observable.prototype', - 'rxjs/add/operator/switch': 'Rx.Observable.prototype', - 'rxjs/add/operator/switchMap': 'Rx.Observable.prototype', - 'rxjs/add/operator/switchMapTo': 'Rx.Observable.prototype', - 'rxjs/add/operator/take': 'Rx.Observable.prototype', - 'rxjs/add/operator/takeLast': 'Rx.Observable.prototype', - 'rxjs/add/operator/takeUntil': 'Rx.Observable.prototype', - 'rxjs/add/operator/takeWhile': 'Rx.Observable.prototype', - 'rxjs/add/operator/throttle': 'Rx.Observable.prototype', - 'rxjs/add/operator/throttleTime': 'Rx.Observable.prototype', - 'rxjs/add/operator/timeInterval': 'Rx.Observable.prototype', - 'rxjs/add/operator/timeout': 'Rx.Observable.prototype', - 'rxjs/add/operator/timeoutWith': 'Rx.Observable.prototype', - 'rxjs/add/operator/timestamp': 'Rx.Observable.prototype', - 'rxjs/add/operator/toArray': 'Rx.Observable.prototype', - 'rxjs/add/operator/toPromise': 'Rx.Observable.prototype', - 'rxjs/add/operator/window': 'Rx.Observable.prototype', - 'rxjs/add/operator/windowCount': 'Rx.Observable.prototype', - 'rxjs/add/operator/windowToggle': 'Rx.Observable.prototype', - 'rxjs/add/operator/windowWhen': 'Rx.Observable.prototype', - 'rxjs/add/operator/withLatestFrom': 'Rx.Observable.prototype', - 'rxjs/add/operator/zipAll': 'Rx.Observable.prototype', - 'rxjs/add/operator/zipProto': 'Rx.Observable.prototype', - 'rxjs/add/operator': 'Rx.Observable.prototype', - 'rxjs/observable/bindCallback': 'Rx.Observable', - 'rxjs/observable/bindNodeCallback': 'Rx.Observable', - 'rxjs/observable/combineLatest': 'Rx.Observable', - 'rxjs/observable/concat': 'Rx.Observable', - 'rxjs/observable/defer': 'Rx.Observable', - 'rxjs/observable/empty': 'Rx.Observable', - 'rxjs/observable/forkJoin': 'Rx.Observable', - 'rxjs/observable/from': 'Rx.Observable', - 'rxjs/observable/fromEvent': 'Rx.Observable', - 'rxjs/observable/fromEventPattern': 'Rx.Observable', - 'rxjs/observable/fromPromise': 'Rx.Observable', - 'rxjs/observable/if': 'Rx.Observable', - 'rxjs/observable/interval': 'Rx.Observable', - 'rxjs/observable/merge': 'Rx.Observable', - 'rxjs/observable/never': 'Rx.Observable', - 'rxjs/observable/of': 'Rx.Observable', - 'rxjs/observable/pairs': 'Rx.Observable', - 'rxjs/observable/range': 'Rx.Observable', - 'rxjs/observable/throw': 'Rx.Observable', - 'rxjs/observable/timer': 'Rx.Observable', - 'rxjs/observable/using': 'Rx.Observable', - 'rxjs/observable/zip': 'Rx.Observable', - 'rxjs/observable': 'Rx.Observable', - 'rxjs/operator/audit': 'Rx.Observable.prototype', - 'rxjs/operator/auditTime': 'Rx.Observable.prototype', - 'rxjs/operator/buffer': 'Rx.Observable.prototype', - 'rxjs/operator/bufferCount': 'Rx.Observable.prototype', - 'rxjs/operator/bufferTime': 'Rx.Observable.prototype', - 'rxjs/operator/bufferToggle': 'Rx.Observable.prototype', - 'rxjs/operator/bufferWhen': 'Rx.Observable.prototype', - 'rxjs/operator/catch': 'Rx.Observable.prototype', - 'rxjs/operator/combineAll': 'Rx.Observable.prototype', - 'rxjs/operator/combineLatest': 'Rx.Observable.prototype', - 'rxjs/operator/concat': 'Rx.Observable.prototype', - 'rxjs/operator/concatAll': 'Rx.Observable.prototype', - 'rxjs/operator/concatMap': 'Rx.Observable.prototype', - 'rxjs/operator/concatMapTo': 'Rx.Observable.prototype', - 'rxjs/operator/count': 'Rx.Observable.prototype', - 'rxjs/operator/debounce': 'Rx.Observable.prototype', - 'rxjs/operator/debounceTime': 'Rx.Observable.prototype', - 'rxjs/operator/defaultIfEmpty': 'Rx.Observable.prototype', - 'rxjs/operator/delay': 'Rx.Observable.prototype', - 'rxjs/operator/delayWhen': 'Rx.Observable.prototype', - 'rxjs/operator/dematerialize': 'Rx.Observable.prototype', - 'rxjs/operator/distinct': 'Rx.Observable.prototype', - 'rxjs/operator/distinctUntilChanged': 'Rx.Observable.prototype', - 'rxjs/operator/distinctUntilKeyChanged': 'Rx.Observable.prototype', - 'rxjs/operator/do': 'Rx.Observable.prototype', - 'rxjs/operator/elementAt': 'Rx.Observable.prototype', - 'rxjs/operator/every': 'Rx.Observable.prototype', - 'rxjs/operator/exhaust': 'Rx.Observable.prototype', - 'rxjs/operator/exhaustMap': 'Rx.Observable.prototype', - 'rxjs/operator/expand': 'Rx.Observable.prototype', - 'rxjs/operator/filter': 'Rx.Observable.prototype', - 'rxjs/operator/finally': 'Rx.Observable.prototype', - 'rxjs/operator/find': 'Rx.Observable.prototype', - 'rxjs/operator/findIndex': 'Rx.Observable.prototype', - 'rxjs/operator/first': 'Rx.Observable.prototype', - 'rxjs/operator/forEach': 'Rx.Observable.prototype', - 'rxjs/operator/groupBy': 'Rx.Observable.prototype', - 'rxjs/operator/ignoreElements': 'Rx.Observable.prototype', - 'rxjs/operator/isEmpty': 'Rx.Observable.prototype', - 'rxjs/operator/last': 'Rx.Observable.prototype', - 'rxjs/operator/let': 'Rx.Observable.prototype', - 'rxjs/operator/letProto': 'Rx.Observable.prototype', - 'rxjs/operator/lift': 'Rx.Observable.prototype', - 'rxjs/operator/map': 'Rx.Observable.prototype', - 'rxjs/operator/mapTo': 'Rx.Observable.prototype', - 'rxjs/operator/materialize': 'Rx.Observable.prototype', - 'rxjs/operator/max': 'Rx.Observable.prototype', - 'rxjs/operator/merge': 'Rx.Observable.prototype', - 'rxjs/operator/mergeAll': 'Rx.Observable.prototype', - 'rxjs/operator/mergeMap': 'Rx.Observable.prototype', - 'rxjs/operator/mergeMapTo': 'Rx.Observable.prototype', - 'rxjs/operator/mergeScan': 'Rx.Observable.prototype', - 'rxjs/operator/min': 'Rx.Observable.prototype', - 'rxjs/operator/multicast': 'Rx.Observable.prototype', - 'rxjs/operator/observeOn': 'Rx.Observable.prototype', - 'rxjs/operator/pairwise': 'Rx.Observable.prototype', - 'rxjs/operator/partition': 'Rx.Observable.prototype', - 'rxjs/operator/pluck': 'Rx.Observable.prototype', - 'rxjs/operator/publish': 'Rx.Observable.prototype', - 'rxjs/operator/publishBehavior':'Rx.Observable.prototype', - 'rxjs/operator/publishLast': 'Rx.Observable.prototype', - 'rxjs/operator/publishReplay': 'Rx.Observable.prototype', - 'rxjs/operator/race': 'Rx.Observable.prototype', - 'rxjs/operator/reduce': 'Rx.Observable.prototype', - 'rxjs/operator/repeat': 'Rx.Observable.prototype', - 'rxjs/operator/repeatWhen': 'Rx.Observable.prototype', - 'rxjs/operator/retry': 'Rx.Observable.prototype', - 'rxjs/operator/retryWhen': 'Rx.Observable.prototype', - 'rxjs/operator/sample': 'Rx.Observable.prototype', - 'rxjs/operator/sampleTime': 'Rx.Observable.prototype', - 'rxjs/operator/scan': 'Rx.Observable.prototype', - 'rxjs/operator/sequenceEqual': 'Rx.Observable.prototype', - 'rxjs/operator/share': 'Rx.Observable.prototype', - 'rxjs/operator/single': 'Rx.Observable.prototype', - 'rxjs/operator/skip': 'Rx.Observable.prototype', - 'rxjs/operator/skipUntil': 'Rx.Observable.prototype', - 'rxjs/operator/skipWhile': 'Rx.Observable.prototype', - 'rxjs/operator/startWith': 'Rx.Observable.prototype', - 'rxjs/operator/subscribeOn': 'Rx.Observable.prototype', - 'rxjs/operator/switch': 'Rx.Observable.prototype', - 'rxjs/operator/switchMap': 'Rx.Observable.prototype', - 'rxjs/operator/switchMapTo': 'Rx.Observable.prototype', - 'rxjs/operator/take': 'Rx.Observable.prototype', - 'rxjs/operator/takeLast': 'Rx.Observable.prototype', - 'rxjs/operator/takeUntil': 'Rx.Observable.prototype', - 'rxjs/operator/takeWhile': 'Rx.Observable.prototype', - 'rxjs/operator/throttle': 'Rx.Observable.prototype', - 'rxjs/operator/throttleTime': 'Rx.Observable.prototype', - 'rxjs/operator/timeInterval': 'Rx.Observable.prototype', - 'rxjs/operator/timeout': 'Rx.Observable.prototype', - 'rxjs/operator/timeoutWith': 'Rx.Observable.prototype', - 'rxjs/operator/timestamp': 'Rx.Observable.prototype', - 'rxjs/operator/toArray': 'Rx.Observable.prototype', - 'rxjs/operator/toPromise': 'Rx.Observable.prototype', - 'rxjs/operator/window': 'Rx.Observable.prototype', - 'rxjs/operator/windowCount': 'Rx.Observable.prototype', - 'rxjs/operator/windowToggle': 'Rx.Observable.prototype', - 'rxjs/operator/windowWhen': 'Rx.Observable.prototype', - 'rxjs/operator/withLatestFrom': 'Rx.Observable.prototype', - 'rxjs/operator/zipAll': 'Rx.Observable.prototype', - 'rxjs/operator/zipProto': 'Rx.Observable.prototype', - 'rxjs/operator': 'Rx.Observable.prototype', - 'rxjs/operators/audit': 'Rx.Observable.prototype', - 'rxjs/operators/auditTime': 'Rx.Observable.prototype', - 'rxjs/operators/buffer': 'Rx.Observable.prototype', - 'rxjs/operators/bufferCount': 'Rx.Observable.prototype', - 'rxjs/operators/bufferTime': 'Rx.Observable.prototype', - 'rxjs/operators/bufferToggle': 'Rx.Observable.prototype', - 'rxjs/operators/bufferWhen': 'Rx.Observable.prototype', - 'rxjs/operators/catch': 'Rx.Observable.prototype', - 'rxjs/operators/combineAll': 'Rx.Observable.prototype', - 'rxjs/operators/combineLatest': 'Rx.Observable.prototype', - 'rxjs/operators/concat': 'Rx.Observable.prototype', - 'rxjs/operators/concatAll': 'Rx.Observable.prototype', - 'rxjs/operators/concatMap': 'Rx.Observable.prototype', - 'rxjs/operators/concatMapTo': 'Rx.Observable.prototype', - 'rxjs/operators/count': 'Rx.Observable.prototype', - 'rxjs/operators/debounce': 'Rx.Observable.prototype', - 'rxjs/operators/debounceTime': 'Rx.Observable.prototype', - 'rxjs/operators/defaultIfEmpty': 'Rx.Observable.prototype', - 'rxjs/operators/delay': 'Rx.Observable.prototype', - 'rxjs/operators/delayWhen': 'Rx.Observable.prototype', - 'rxjs/operators/dematerialize': 'Rx.Observable.prototype', - 'rxjs/operators/distinct': 'Rx.Observable.prototype', - 'rxjs/operators/distinctUntilChanged': 'Rx.Observable.prototype', - 'rxjs/operators/distinctUntilKeyChanged': 'Rx.Observable.prototype', - 'rxjs/operators/do': 'Rx.Observable.prototype', - 'rxjs/operators/elementAt': 'Rx.Observable.prototype', - 'rxjs/operators/every': 'Rx.Observable.prototype', - 'rxjs/operators/exhaust': 'Rx.Observable.prototype', - 'rxjs/operators/exhaustMap': 'Rx.Observable.prototype', - 'rxjs/operators/expand': 'Rx.Observable.prototype', - 'rxjs/operators/filter': 'Rx.Observable.prototype', - 'rxjs/operators/finally': 'Rx.Observable.prototype', - 'rxjs/operators/find': 'Rx.Observable.prototype', - 'rxjs/operators/findIndex': 'Rx.Observable.prototype', - 'rxjs/operators/first': 'Rx.Observable.prototype', - 'rxjs/operators/forEach': 'Rx.Observable.prototype', - 'rxjs/operators/groupBy': 'Rx.Observable.prototype', - 'rxjs/operators/ignoreElements': 'Rx.Observable.prototype', - 'rxjs/operators/isEmpty': 'Rx.Observable.prototype', - 'rxjs/operators/last': 'Rx.Observable.prototype', - 'rxjs/operators/let': 'Rx.Observable.prototype', - 'rxjs/operators/letProto': 'Rx.Observable.prototype', - 'rxjs/operators/lift': 'Rx.Observable.prototype', - 'rxjs/operators/map': 'Rx.Observable.prototype', - 'rxjs/operators/mapTo': 'Rx.Observable.prototype', - 'rxjs/operators/materialize': 'Rx.Observable.prototype', - 'rxjs/operators/max': 'Rx.Observable.prototype', - 'rxjs/operators/merge': 'Rx.Observable.prototype', - 'rxjs/operators/mergeAll': 'Rx.Observable.prototype', - 'rxjs/operators/mergeMap': 'Rx.Observable.prototype', - 'rxjs/operators/mergeMapTo': 'Rx.Observable.prototype', - 'rxjs/operators/mergeScan': 'Rx.Observable.prototype', - 'rxjs/operators/min': 'Rx.Observable.prototype', - 'rxjs/operators/multicast': 'Rx.Observable.prototype', - 'rxjs/operators/observeOn': 'Rx.Observable.prototype', - 'rxjs/operators/pairwise': 'Rx.Observable.prototype', - 'rxjs/operators/partition': 'Rx.Observable.prototype', - 'rxjs/operators/pluck': 'Rx.Observable.prototype', - 'rxjs/operators/publish': 'Rx.Observable.prototype', - 'rxjs/operators/publishBehavior':'Rx.Observable.prototype', - 'rxjs/operators/publishLast': 'Rx.Observable.prototype', - 'rxjs/operators/publishReplay': 'Rx.Observable.prototype', - 'rxjs/operators/race': 'Rx.Observable.prototype', - 'rxjs/operators/reduce': 'Rx.Observable.prototype', - 'rxjs/operators/repeat': 'Rx.Observable.prototype', - 'rxjs/operators/repeatWhen': 'Rx.Observable.prototype', - 'rxjs/operators/retry': 'Rx.Observable.prototype', - 'rxjs/operators/retryWhen': 'Rx.Observable.prototype', - 'rxjs/operators/sample': 'Rx.Observable.prototype', - 'rxjs/operators/sampleTime': 'Rx.Observable.prototype', - 'rxjs/operators/scan': 'Rx.Observable.prototype', - 'rxjs/operators/sequenceEqual': 'Rx.Observable.prototype', - 'rxjs/operators/share': 'Rx.Observable.prototype', - 'rxjs/operators/single': 'Rx.Observable.prototype', - 'rxjs/operators/skip': 'Rx.Observable.prototype', - 'rxjs/operators/skipUntil': 'Rx.Observable.prototype', - 'rxjs/operators/skipWhile': 'Rx.Observable.prototype', - 'rxjs/operators/startWith': 'Rx.Observable.prototype', - 'rxjs/operators/subscribeOn': 'Rx.Observable.prototype', - 'rxjs/operators/switch': 'Rx.Observable.prototype', - 'rxjs/operators/switchMap': 'Rx.Observable.prototype', - 'rxjs/operators/switchMapTo': 'Rx.Observable.prototype', - 'rxjs/operators/take': 'Rx.Observable.prototype', - 'rxjs/operators/takeLast': 'Rx.Observable.prototype', - 'rxjs/operators/takeUntil': 'Rx.Observable.prototype', - 'rxjs/operators/takeWhile': 'Rx.Observable.prototype', - 'rxjs/operators/throttle': 'Rx.Observable.prototype', - 'rxjs/operators/throttleTime': 'Rx.Observable.prototype', - 'rxjs/operators/timeInterval': 'Rx.Observable.prototype', - 'rxjs/operators/timeout': 'Rx.Observable.prototype', - 'rxjs/operators/timeoutWith': 'Rx.Observable.prototype', - 'rxjs/operators/timestamp': 'Rx.Observable.prototype', - 'rxjs/operators/toArray': 'Rx.Observable.prototype', - 'rxjs/operators/toPromise': 'Rx.Observable.prototype', - 'rxjs/operators/window': 'Rx.Observable.prototype', - 'rxjs/operators/windowCount': 'Rx.Observable.prototype', - 'rxjs/operators/windowToggle': 'Rx.Observable.prototype', - 'rxjs/operators/windowWhen': 'Rx.Observable.prototype', - 'rxjs/operators/withLatestFrom': 'Rx.Observable.prototype', - 'rxjs/operators/zipAll': 'Rx.Observable.prototype', - 'rxjs/operators/zipProto': 'Rx.Observable.prototype', - 'rxjs/operators': 'Rx.Observable.prototype', - 'rxjs/symbol/iterator': 'Rx.Symbol', - 'rxjs/symbol/observable': 'Rx.Symbol', - 'rxjs/symbol/rxSubscriber': 'Rx.Symbol', - 'rxjs/symbol': 'Rx.Symbol', - 'rxjs/scheduler/Action': 'Rx.Scheduler', - 'rxjs/scheduler/animationFrame': 'Rx.Scheduler', - 'rxjs/scheduler/AnimationFrameAction': 'Rx.Scheduler', - 'rxjs/scheduler/asap': 'Rx.Scheduler', - 'rxjs/scheduler/AsapAction': 'Rx.Scheduler', - 'rxjs/scheduler/async': 'Rx.Scheduler', - 'rxjs/scheduler/AsyncAction': 'Rx.Scheduler', - 'rxjs/scheduler/AsyncScheduler': 'Rx.Scheduler', - 'rxjs/scheduler/queue': 'Rx.Scheduler', - 'rxjs/scheduler/QueueAction': 'Rx.Scheduler', - 'rxjs/scheduler/QueueScheduler': 'Rx.Scheduler', - 'rxjs/scheduler/VirtualTimeScheduler': 'Rx.Scheduler', - 'rxjs/scheduler': 'Rx.Scheduler' -}; diff --git a/src/package.json b/src/package.json index 1c3b557533..5fb0c8fd35 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,5 @@ { "name": "ngx-bootstrap", - "es2015": "bundles/ngx-bootstrap.es2015.js", "peerDependencies": { "@angular/core": "*", "@angular/common": "*"