exec.js 667 B

123456789101112131415161718192021222324
  1. module.exports = function (config, grunt) {
  2. 'use strict';
  3. return {
  4. tslintPackages: {
  5. command: 'yarn workspaces run tslint',
  6. src: ['packages/**/*.ts*'],
  7. },
  8. tslintRoot: {
  9. command: 'yarn run tslint',
  10. src: ['public/app/**/*.ts*'],
  11. },
  12. typecheckPackages: {
  13. command: 'yarn workspaces run typecheck',
  14. src: ['packages/**/*.ts*'],
  15. },
  16. typecheckRoot: {
  17. command: 'yarn run typecheck',
  18. src: ['public/app/**/*.ts*'],
  19. },
  20. jest: 'node ./node_modules/jest-cli/bin/jest.js --maxWorkers 2',
  21. webpack: 'node ./node_modules/webpack/bin/webpack.js --config scripts/webpack/webpack.prod.js',
  22. };
  23. };