text: /**
   * Copyright 2004-present Facebook. All Rights Reserved.
   *
   * This source code is licensed under the BSD-style license found in the
   * LICENSE file in the root directory of this source tree.
   *
   * @flow strict-local
   * @format
   */
  
  'use strict';
  
  const fs = require('fs');
  const path = require('path');
  
  const appDirectory = fs.realpathSync(process.cwd());
  
  const resolveApp = (relativePath: string) =>
    path.resolve(appDirectory, relativePath);
  
  module.exports = {
    appIndexJs: resolveApp('app/main.js'),
    loginJs: resolveApp('app/login.js'),
    appSrc: resolveApp('app'),
    distPath: resolveApp('static/dist'),
    packagesDir: resolveApp('../../fbcnms-packages'),
    nodeModulesDir: resolveApp('../../node_modules'),
    resolveApp,
  };
  