title: Read params from a json file for protractor tests
body: <p>I've commented out the lines trying to read the files, is there a way I can retrieve the values from the files inside <code>protractor.config.ts</code> instead of having to pass as command line args?</p>
  
  <p>protractor.config.ts</p>
  
  <pre><code>import { } from 'jasmine';
  import { Config } from 'protractor';
  
  //import fs = require('fs'); // Cannot find module 'fs'
  //import param1 = require('test/e2e/param1.json'); // Cannot find module 'test/e2e/param1.json'
  //import param2 = require('test/e2e/param2.json'); // Cannot find module 'test/e2e/param2.json'
  
  export let config: Config = {
    rootElement: 'my-app',
    framework: 'jasmine',
    capabilities: {
      browserName: 'chrome'
    },
    specs: ['test/e2e/**/*.js'],
    seleniumAddress: 'http://localhost:4444/',
    params: {
      param1: '13bf8265-06d6-45c3-97fc-0d6da7b6b597',
      param2: '14490027-e55b-4739-a5a9-5c091c5d4a72'
    }
  };
  </code></pre>
  
  <p>test/e2e/param1.json:</p>
  
  <pre><code>{
    "param1": "13bf8265-06d6-45c3-97fc-0d6da7b6b597"
  }
  </code></pre>
  
  <p>test/e2e/param2.json:</p>
  
  <pre><code>{
    "param2": "14490027-e55b-4739-a5a9-5c091c5d4a72"
  }
  </code></pre>