grafana/scripts/grunt/options/exec.js

26 lines
633 B
JavaScript
Raw Normal View History

module.exports = function(config, grunt) {
2017-10-23 02:06:08 -05:00
'use strict';
return {
tslintPackages: {
command: 'yarn workspaces run tslint',
src: ['packages/**/*.ts*'],
},
tslintRoot: {
command: 'yarn run tslint',
src: ['public/app/**/*.ts*'],
},
typecheckPackages: {
command: 'yarn workspaces run typecheck',
src: ['packages/**/*.ts*'],
},
typecheckRoot: {
command: 'yarn run typecheck',
src: ['public/app/**/*.ts*'],
},
jest: 'yarn run jest-ci',
webpack:
'node ./node_modules/webpack/bin/webpack.js --config scripts/webpack/webpack.prod.js',
};
};