Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

remove peer deps & update installation instructions; closes #114 #116

Merged
merged 1 commit into from
Oct 31, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@

## Installation

The easiest way is to keep `karma-mocha` as a devDependency in your `package.json`.
```json
{
"devDependencies": {
"karma-mocha": "~0.1"
}
}
Install `karma-mocha` and `mocha` into to your project via `npm`:

```shell
$ npm install karma-mocha mocha --save-dev
```

You can simple do it by:
```bash
npm install karma-mocha --save-dev
`karma-mocha` should work with any version of `mocha`.

Since `karma-mocha` is an adapter for [Karma](http://karma-runner.github.io), you likely have it installed already, but in case you don't:

```shell
$ npm install karma --save-dev
```

Instructions on how to install `karma` can be found [here.](http://karma-runner.github.io/0.12/intro/installation.html)
If you're having trouble, Karma provides [detailed instructions](http://karma-runner.github.io/1.0/intro/installation.html) on installation.

## Configuration
Following code shows the default configuration...
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@
"shared-karma-files": "git://github.com/karma-runner/shared-karma-files.git#82ae8d02",
"sinon": "^1.17.2"
},
"peerDependencies": {
"mocha": "*"
},
"license": "MIT",
"contributors": [
"Maksim Ryzhikov <rv.maksim@gmail.com>",
Expand Down