exec.js 426 B

1234567891011121314
  1. module.exports = function(config, grunt) {
  2. 'use strict';
  3. var coverage = '';
  4. if (config.coverage) {
  5. coverage = '--coverage --maxWorkers 2';
  6. }
  7. return {
  8. tslint: 'node ./node_modules/tslint/lib/tslint-cli.js -c tslint.json --project ./tsconfig.json',
  9. jest: 'node ./node_modules/jest-cli/bin/jest.js ' + coverage,
  10. webpack: './node_modules/.bin/webpack --config scripts/webpack/webpack.prod.js',
  11. };
  12. };