From 3057c25c26d4ccf8592f980afeef76d0cd1134a0 Mon Sep 17 00:00:00 2001 From: Spencer Alger Date: Wed, 18 Dec 2013 13:28:42 -0700 Subject: [PATCH] Setup `grunt coverage` task --- grunt/config/open.js | 6 ++++++ package.json | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 grunt/config/open.js diff --git a/grunt/config/open.js b/grunt/config/open.js new file mode 100644 index 000000000..65a2ff836 --- /dev/null +++ b/grunt/config/open.js @@ -0,0 +1,6 @@ +module.exports = { + html_unit_cov: { + path: 'coverage.html', + app: 'Google Chrome' + } +}; \ No newline at end of file diff --git a/package.json b/package.json index a286c4d8c..9edb61ffb 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,8 @@ "grunt-contrib-compress": "~0.5.3", "grunt-contrib-copy": "~0.4.1", "grunt-prompt": "~0.1.2", - "grunt-mocha-cov": "~0.1.1" + "grunt-mocha-cov": "~0.1.1", + "grunt-open": "~0.2.2" }, "license": "Apache 2.0", "dependencies": {