mirror of https://github.com/grafana/grafana
commit
61b2100b9f
@ -1,11 +0,0 @@ |
|||||||
coverage: |
|
||||||
precision: 2 |
|
||||||
round: down |
|
||||||
range: "50...100" |
|
||||||
|
|
||||||
status: |
|
||||||
project: yes |
|
||||||
patch: yes |
|
||||||
changes: no |
|
||||||
|
|
||||||
comment: off |
|
||||||
@ -1,14 +1,9 @@ |
|||||||
module.exports = function(config, grunt) { |
module.exports = function(config, grunt) { |
||||||
'use strict'; |
'use strict'; |
||||||
|
|
||||||
var coverage = ''; |
|
||||||
if (config.coverage) { |
|
||||||
coverage = '--coverage --maxWorkers 2'; |
|
||||||
} |
|
||||||
|
|
||||||
return { |
return { |
||||||
tslint: 'node ./node_modules/tslint/lib/tslintCli.js -c tslint.json --project ./tsconfig.json', |
tslint: 'node ./node_modules/tslint/lib/tslintCli.js -c tslint.json --project ./tsconfig.json', |
||||||
jest: 'node ./node_modules/jest-cli/bin/jest.js ' + coverage, |
jest: 'node ./node_modules/jest-cli/bin/jest.js --maxWorkers 2', |
||||||
webpack: 'node ./node_modules/webpack/bin/webpack.js --config scripts/webpack/webpack.prod.js', |
webpack: 'node ./node_modules/webpack/bin/webpack.js --config scripts/webpack/webpack.prod.js', |
||||||
}; |
}; |
||||||
}; |
}; |
||||||
|
|||||||
Loading…
Reference in new issue