You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
741 B

  1. 'use strict';
  2. var getAvailPort = require('./utils/getAvailPort');
  3. var port = getAvailPort(8888);
  4. module.exports = function (grunt, options) {
  5. return {
  6. options: {
  7. base: ''
  8. },
  9. webserver: {
  10. options: {
  11. port: port,
  12. keepalive: true
  13. }
  14. },
  15. devserver: {
  16. options: {
  17. port: 8888
  18. }
  19. },
  20. testserver: {
  21. options: {
  22. port: 9999
  23. }
  24. },
  25. coverage: {
  26. options: {
  27. base: 'coverage/',
  28. directory: 'coverage/',
  29. port: 5555,
  30. keepalive: true
  31. }
  32. }
  33. };
  34. };