mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 15:02:13 +08:00
15 lines
438 B
JavaScript
15 lines
438 B
JavaScript
module.exports = function(config, grunt) {
|
|
'use strict'
|
|
|
|
var coverage = '';
|
|
if (config.coverage) {
|
|
coverage = '--coverage --maxWorkers 2';
|
|
}
|
|
|
|
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,
|
|
"webpack": "./node_modules/.bin/webpack --config scripts/webpack/webpack.prod.js",
|
|
};
|
|
};
|