Skip to content

Commit

Permalink
feat(cli): compatible with angular cli using 'ng install'
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWalker committed Jan 27, 2016
1 parent 3fbd0e0 commit edf67bf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
10 changes: 9 additions & 1 deletion ng2-translate.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
import {TranslatePipe} from './src/translate.pipe';
import {TranslateService} from './src/translate.service';

export * from './src/translate.pipe';
export * from './src/translate.service';
export * from './src/translate.parser';
export * from './src/translate.parser';

export default {
pipes: [TranslatePipe],
providers: [TranslateService]
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"angular2": "~2.0.0-beta.0",
"es6-promise": "~3.0.2",
"es6-shim": "~0.33.3",
"reflect-metadata": "~0.1.2",
"rxjs": "~5.0.0-beta.0",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.0",
"zone.js": "~0.5.10"
},
"devDependencies": {
Expand All @@ -50,8 +50,8 @@
"angular2": "~2.0.0-beta.0",
"es6-promise": "~3.0.2",
"es6-shim": "~0.33.3",
"reflect-metadata": "~0.1.2",
"rxjs": "~5.0.0-beta.0",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.0",
"zone.js": "~0.5.10"
},
"czConfig": {
Expand Down

0 comments on commit edf67bf

Please sign in to comment.