grafana/scripts/grunt/options/exec.js

17 lines
499 B
JavaScript
Raw Normal View History

module.exports = function (config, grunt) {
2017-10-23 02:06:08 -05:00
'use strict';
return {
tslint: {
command: 'node ./node_modules/tslint/lib/tslintCli.js -c tslint.json --project ./tsconfig.json',
src: ['public/app/**/*.ts*'],
},
tsc: {
command: 'yarn tsc --noEmit',
src: ['public/app/**/*.ts*'],
},
2018-09-18 05:07:53 -05:00
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',
};
};