grafana/scripts/grunt/options/exec.js

14 lines
327 B
JavaScript
Raw Normal View History

module.exports = function(config, grunt) {
'use strict'
var coverage = '';
if (config.coverage) {
coverage = '--coverage';
}
return {
tslint : "node ./node_modules/tslint/lib/tslint-cli.js -c tslint.json --project ./tsconfig.json",
jest : "node ./node_modules/jest-cli/bin/jest.js " + coverage,
};
};