Skip to content

Commit

Permalink
feat(core): make benchmark.js a peer dependency
Browse files Browse the repository at this point in the history
Closes #14

BREAKING CHANGE:
You now need to install benchmark.js yourself, it
is no longer installed by karma-benchmark.
  • Loading branch information
Micha Reiser authored and JamieMason committed Jul 9, 2018
1 parent 853e01c commit 0948dae
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@
"Larry Davis <lazdnet@gmail.com>"
],
"dependencies": {
"benchmark": "2.1.3",
"karma": "1.5.0",
"lodash": "4.17.4",
"platform": "1.3.3"
},
"peerDependencies": {
"benchmark": "^2.1.0",
"karma": "^1.5.0"
},
"devDependencies": {
"benchmark": "2.1.3",
"browserify": "14.1.0",
"browserify-shim": "^3.8.13",
"karma": "^1.5.0",
"xo": "0.17.1"
},
"files": [
Expand Down Expand Up @@ -44,6 +49,12 @@
"pretest": "npm run build",
"test": "xo"
},
"browserify": {
"transform": [ "browserify-shim" ]
},
"browserify-shim": {
"benchmark": "global:Benchmark"
},
"xo": {
"envs": [
"browser",
Expand Down

0 comments on commit 0948dae

Please sign in to comment.