From 08ba220bfdbf80006214c011c55ff9c9bbc50289 Mon Sep 17 00:00:00 2001 From: Olivier Ligot Date: Thu, 4 Aug 2016 10:56:46 +0200 Subject: [PATCH] Mocha 3 support Mocha 3 has recently been released: https://github.com/mochajs/mocha/blob/master/CHANGELOG.md As the registry uses semver to resolve override, this commit adds a new file `mocha@3.0.0.json` which is basically just a copy of `mocha@2.5.3.json`. Note that I've only tested this is the browser and not in Node.js --- package-overrides/npm/mocha@3.0.0.json | 46 ++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 package-overrides/npm/mocha@3.0.0.json diff --git a/package-overrides/npm/mocha@3.0.0.json b/package-overrides/npm/mocha@3.0.0.json new file mode 100644 index 0000000..d0c9704 --- /dev/null +++ b/package-overrides/npm/mocha@3.0.0.json @@ -0,0 +1,46 @@ +{ + "main": "./mocha.js", + "jspmNodeConversion": false, + "meta": { + "mocha.js": { + "deps": [ + "./mocha.css!" + ], + "exports": "Mocha", + "format": "global" + } + }, + "shim": { + "mocha": { + "exports": "mocha", + "deps": [ + "./mocha.css!" + ] + } + }, + "dependencies": { + "css": "*", + "debug": "^2.2.0" + }, + "registry": "jspm", + "map": { + "./mocha.js": { + "node": "./lib/mocha.js" + }, + "escape-string-regexp": "@empty", + "growl": "@empty", + "./lib/reporters.js": "./lib/reporters/index.js", + "./lib/interfaces.js": "./lib/interfaces/index.js", + "glob": "@empty", + "to-iso-string": "@empty", + "mkdirp": "@empty", + "jade": "@empty", + "diff": "@empty", + "supports-color": "@empty", + "path": "@node/path", + "fs": "@node/fs", + "util": "@node/util", + "events": "@node/events", + "tty": "@node/tty" + } +} \ No newline at end of file