When using the Angular 4/5 CLI a node script is created named e2e. This executes the application and the Protractor tests from a single command.
Without using the CLI - I have a project that is too large to migrate to the CLI, how is this achievable? The following command does not work:
"e2e": "npm run server:dev && protractor protractor.conf
The webserver does not start.
Currently to run the tests I run 3 separate commands
webdriver-manager start 
npm start //run the app
protractor protractor.conf //run the tests
Current protractor conf is
const { SpecReporter } = require('jasmine-spec-reporter');
// conf.js
exports.config = {
    framework: 'jasmine',
    seleniumAddress: 'http://localhost:4444/wd/hub',
    allScriptsTimeout: 11000,
    // For angular2 tests
    useAllAngular2AppRoots: true,
    specs: [
      './e2e/**/*.e2e-spec.ts'
    ],
    capabilities: {
      'browserName': 'chrome'
    },
    directConnect: true,
    baseUrl: 'http://localhost:3000/',
    framework: 'jasmine',
    jasmineNodeOpts: {
      showColors: true,
      defaultTimeoutInterval: 30000,
      print: function() {}
    },
    onPrepare() {
      require('ts-node').register({
        project: 'e2e/tsconfig.e2e.json'
      });
     jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
    }
  }
Thanks in advance.
