exec.js 499 B

12345678910111213141516
  1. module.exports = function (config, grunt) {
  2. 'use strict';
  3. return {
  4. tslint: {
  5. command: 'node ./node_modules/tslint/lib/tslintCli.js -c tslint.json --project ./tsconfig.json',
  6. src: ['public/app/**/*.ts*'],
  7. },
  8. tsc: {
  9. command: 'yarn tsc --noEmit',
  10. src: ['public/app/**/*.ts*'],
  11. },
  12. jest: 'node ./node_modules/jest-cli/bin/jest.js --maxWorkers 2',
  13. webpack: 'node ./node_modules/webpack/bin/webpack.js --config scripts/webpack/webpack.prod.js',
  14. };
  15. };