Skip to content

Commit a704938

Browse files
committed
Merge branch 'sfaizanh-2.0' into 2.0
2 parents 14c0d85 + 6769362 commit a704938

File tree

7 files changed

+69
-10
lines changed

7 files changed

+69
-10
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ log.txt
1111
*.sublime-workspace
1212
.vscode/
1313
npm-debug.log*
14+
dist/*.js.map
15+
dist/*.d.ts
16+
dist/*.js
1417

1518
.idea/
1619
.sass-cache/

demo/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@
2020
"@angular/platform-browser-dynamic": "2.2.1",
2121
"@angular/platform-server": "2.2.1",
2222
"@ionic/storage": "1.1.7",
23-
"ionic-angular": "2.0.1",
23+
"ionic-angular": "2.1.0",
2424
"ionic-native": "2.4.1",
2525
"ionicons": "3.0.0",
2626
"rxjs": "5.0.0-beta.12",
2727
"sw-toolbox": "3.4.0",
2828
"zone.js": "0.6.26",
29-
"ionic-audio": "2.3.0"
29+
"ionic-audio": "git+https://github.com/sfaizanh/ionic-audio.git#2.0"
3030
},
3131
"devDependencies": {
32-
"@ionic/app-scripts": "1.0.0",
32+
"@ionic/app-scripts": "1.1.4",
3333
"typescript": "2.0.9"
3434
},
3535
"cordovaPlugins": [

demo/src/app/app.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { ContactPage } from '../pages/contact/contact';
66
import { HomePage } from '../pages/home/home';
77
import { TabsPage } from '../pages/tabs/tabs';
88

9-
import { IonicAudioModule, AudioProvider, WebAudioProvider, audioProviderFactory } from 'ionic-audio/dist';
9+
import { IonicAudioModule, AudioProvider, WebAudioProvider, audioProviderFactory } from 'ionic-audio';
1010

1111
/**
1212
* Sample custom factory function to use with ionic-audio

demo/src/pages/home/home.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Component } from '@angular/core';
22

33
import { NavController } from 'ionic-angular';
44

5-
import { AudioProvider } from 'ionic-audio/dist';
5+
import { AudioProvider } from 'ionic-audio';
66

77
@Component({
88
selector: 'page-home',

demo/tsconfig.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
"sourceMap": true,
1414
"target": "es5"
1515
},
16-
"files": [
17-
"node_modules/ionic-audio/dist/index.ts"
18-
],
1916
"include": [
2017
"src/**/*.ts"
2118
],

package.json

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,29 @@
22
"name": "ionic-audio",
33
"version": "2.3.1",
44
"description": "An audio player for Ionic 2 and Angular 2",
5-
"main": "dist/ionic-audio/ionic-audio.module.ts",
5+
"main": "./dist/index.js",
6+
"typings": "./dist/index.d.ts",
67
"scripts": {
8+
"prepublish": "tsc -p ./",
79
"test": "echo \"Error: no test specified\" && exit 1"
810
},
11+
"dependencies": {
12+
"@angular/common": "2.2.1",
13+
"@angular/compiler": "2.2.1",
14+
"@angular/compiler-cli": "2.2.1",
15+
"@angular/core": "2.2.1",
16+
"@angular/forms": "2.2.1",
17+
"@angular/http": "2.2.1",
18+
"@angular/platform-browser": "2.2.1",
19+
"@angular/platform-browser-dynamic": "2.2.1",
20+
"@angular/platform-server": "2.2.1",
21+
"ionic-angular": "2.1.0",
22+
"rxjs": "5.0.0-beta.12",
23+
"zone.js": "0.6.26"
24+
},
25+
"devDependencies": {
26+
"typescript": "2.0.9"
27+
},
928
"repository": {
1029
"type": "git",
1130
"url": "git+https://github.com/arielfaur/ionic-audio.git"
@@ -23,4 +42,4 @@
2342
"url": "https://github.com/arielfaur/ionic-audio/issues"
2443
},
2544
"homepage": "https://github.com/arielfaur/ionic-audio#readme"
26-
}
45+
}

tsconfig.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"compilerOptions": {
3+
"allowSyntheticDefaultImports": true,
4+
"declaration": true,
5+
"emitDecoratorMetadata": true,
6+
"experimentalDecorators": true,
7+
"sourceMap": true,
8+
"lib": [
9+
"dom",
10+
"es2015"
11+
],
12+
"module": "es2015",
13+
"moduleResolution": "node",
14+
"target": "es5",
15+
"outDir": "./dist"
16+
},
17+
"exclude": [
18+
"node_modules"
19+
],
20+
"compileOnSave": false,
21+
"atom": {
22+
"rewriteTsconfig": false
23+
},
24+
"files": [
25+
"dist/index.ts",
26+
"dist/ionic-audio.module.ts",
27+
"dist/ionic-audio-web-track.ts",
28+
"dist/ionic-audio-track-progress-component.ts",
29+
"dist/ionic-audio-track-play-component.ts",
30+
"dist/ionic-audio-track-component.ts",
31+
"dist/ionic-audio-time-pipe.ts",
32+
"dist/ionic-audio-providers.ts",
33+
"dist/ionic-audio-interfaces.ts",
34+
"dist/ionic-audio-cordova-track.ts"
35+
],
36+
"angularCompilerOptions": {
37+
"strictMetadataEmit": true,
38+
"skipTemplateCodegen": true
39+
}
40+
}

0 commit comments

Comments
 (0)