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

Commit

Permalink
fix(deps): remove peer dependency on mocha
Browse files Browse the repository at this point in the history
Closes #114
  • Loading branch information
boneskull authored and dignifiedquire committed Oct 31, 2016
1 parent 65a93d7 commit 0bbf932
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
22 changes: 11 additions & 11 deletions README.md
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
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

1 comment on commit 0bbf932

@jacksonrayhamilton
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a breaking change, should have been a major semver bump.

Please sign in to comment.