2019-01-28 14:34:20 -06:00
|
|
|
module.exports = function(config, grunt) {
|
2017-10-23 02:06:08 -05:00
|
|
|
'use strict';
|
2017-10-22 00:03:26 -05:00
|
|
|
|
2017-10-01 13:02:25 -05:00
|
|
|
return {
|
2018-12-21 07:23:32 -06:00
|
|
|
tslintPackages: {
|
|
|
|
command: 'yarn workspaces run tslint',
|
|
|
|
src: ['packages/**/*.ts*'],
|
|
|
|
},
|
|
|
|
tslintRoot: {
|
|
|
|
command: 'yarn run tslint',
|
2018-10-30 04:25:53 -05:00
|
|
|
src: ['public/app/**/*.ts*'],
|
|
|
|
},
|
2018-12-21 07:23:32 -06:00
|
|
|
typecheckPackages: {
|
|
|
|
command: 'yarn workspaces run typecheck',
|
|
|
|
src: ['packages/**/*.ts*'],
|
|
|
|
},
|
|
|
|
typecheckRoot: {
|
|
|
|
command: 'yarn run typecheck',
|
2018-10-30 04:25:53 -05:00
|
|
|
src: ['public/app/**/*.ts*'],
|
|
|
|
},
|
2019-12-13 07:56:25 -06:00
|
|
|
jest: 'yarn run jest-ci',
|
2019-01-28 14:34:20 -06:00
|
|
|
webpack:
|
2019-01-29 05:33:58 -06:00
|
|
|
'node ./node_modules/webpack/bin/webpack.js --config scripts/webpack/webpack.prod.js',
|
2017-10-01 13:02:25 -05:00
|
|
|
};
|
|
|
|
};
|