From 06f63fcb2a049e64cf0d55ee3f0b12db271971ac Mon Sep 17 00:00:00 2001 From: Ricardo Nogueira Date: Thu, 21 Apr 2016 11:41:23 +0100 Subject: [PATCH] Add isparta options --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 238a003..e3ed638 100644 --- a/package.json +++ b/package.json @@ -24,13 +24,14 @@ "columns" ], "options": { + "isparta": "--dir test/coverage", "mocha": "--compilers js:babel/register --bail test" }, "scripts": { "build": "rm -rf dist/* && ./node_modules/.bin/babel src/ --out-dir dist/", "changelog": "github_changelog_generator --bug-labels --enhancement-labels --header-label='# Changelog'", "coveralls": "npm run cover && cat ./test/coverage/lcov.info | coveralls", - "cover": "babel-node node_modules/isparta/bin/isparta cover _mocha -- $npm_package_options_mocha", + "cover": "babel-node node_modules/isparta/bin/isparta cover $npm_package_options_isparta _mocha -- $npm_package_options_mocha", "lint": "eslint src test", "test": "mocha $npm_package_options_mocha" },