Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
remojansen committed Sep 11, 2016
1 parent 4a8a877 commit 0e608e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,15 @@ A console logger middleware for [InversifyJS](https://github.com/inversify/Inver

![](http://i.imgur.com/iFAogro.png)

### Installation
## Installation
You can install `inversify-logger-middleware` using npm:

```
$ npm install inversify reflect-metadata inversify-logger-middleware
$ npm install inversify-dts --save-dev
```
if you are workiong with TypeScript you will need the following .d.ts files:
```
/// <reference path="node_modules/inversify-dts/inversify-logger-middleware/inversify-logger-middleware.d.ts" />
/// <reference path="node_modules/reflect-metadata/reflect-metadata.d.ts" />
$ npm install inversify inversify-logger-middleware reflect-metadata --save
```

Please refer to the [InversifyJS installation guide](https://github.com/inversify/InversifyJS#installation) for more details.
The `inversify-logger-middleware` type definitions are included in the npm module and require TypeScript 2.0.
Please refer to the [InversifyJS documentation](https://github.com/inversify/InversifyJS#installation) to learn more about the installation process.

### Motivation
Lets imagine that we have already configured an InversifyJS Kernel and the logger middleware using the fillowing bindings:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"gulp-tslint": "^6.0.2",
"gulp-typescript": "^2.13.4",
"harmonize": "^1.4.4",
"inversify": "^2.0.0-rc.14",
"inversify": "^2.0.0",
"mocha": "^3.0.0",
"publish-please": "^2.1.4",
"reflect-metadata": "^0.1.3",
Expand Down

0 comments on commit 0e608e0

Please sign in to comment.