|
@@ -2,8 +2,14 @@ module.exports = function (config, grunt) {
|
|
|
'use strict';
|
|
'use strict';
|
|
|
|
|
|
|
|
return {
|
|
return {
|
|
|
- tslint: 'node ./node_modules/tslint/lib/tslintCli.js -c tslint.json --project ./tsconfig.json',
|
|
|
|
|
- tsc: 'yarn tsc --noEmit',
|
|
|
|
|
|
|
+ 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*'],
|
|
|
|
|
+ },
|
|
|
jest: 'node ./node_modules/jest-cli/bin/jest.js --maxWorkers 2',
|
|
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',
|
|
|
};
|
|
};
|