Advertisement
Guest User

Untitled

a guest
Aug 9th, 2017
469
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const NODE_ENV = process.env.NODE_ENV || 'development';
  2.  
  3. module.exports = {
  4.   /** The environment to use when building the project */
  5.   env: NODE_ENV,
  6.   /** The full path to the project's root directory */
  7.   basePath: __dirname,
  8.   /** The name of the directory containing the application source code */
  9.   srcDir: 'src',
  10.   /** The file name of the application's entry point */
  11.   main: 'main',
  12.   /** The name of the directory in which to emit compiled assets */
  13.   outDir: 'dist',
  14.   /** The base path for all projects assets (relative to the website root) */
  15.   publicPath: '/',
  16.   /** Whether to generate sourcemaps */
  17.   sourcemaps: true,
  18.   /** A hash map of keys that the compiler should treat as external to the project */
  19.   externals: {},
  20.   /** A hash map of variables and their values to expose globally */
  21.   globals: {},
  22.   /** Whether to enable verbose logging */
  23.   verbose: false,
  24.   /** The list of modules to bundle separately from the core application code */
  25.   vendors: [
  26.     'react',
  27.     'react-dom',
  28.     'redux',
  29.     'react-redux',
  30.     'redux-thunk',
  31.     'react-router',
  32.   ],
  33.   server: {
  34.     HOST: 'localhost',
  35.     PORT: 3000,
  36.     GQL_PORT: 8324,
  37.     GQL_ENDPOINT: '/object_api',
  38.     WS_GQL_ENDPOINT: '/subscriptions'
  39.   },
  40.   /** Database */
  41.   database: {
  42.     mysql: {
  43.       production: {
  44.         user: 'cloudiq',
  45.         db: 'cloudiq',
  46.         host: 'localhost',
  47.         port: '3306',
  48.         password: 'cheZ2eil'
  49.       },
  50.       development: {
  51.         user: 'cloudiq',
  52.         db: 'cloudiq_dev',
  53.         host: 'localhost',
  54.         port: '3306',
  55.         password: 'cheZ2eil',
  56.         connectionLimit: '0'
  57.       },
  58.       test: {
  59.         user: 'cloudiq',
  60.         db: 'cloudiq_test',
  61.         host: 'localhost',
  62.         port: '3306',
  63.         password: 'cheZ2eil',
  64.         connectionLimit: '0'
  65.       }
  66.     }
  67.   },
  68.   smtp: {
  69.     host: 'smtp.gmail.com',
  70.     port: 587,
  71.     secure: false, // secure:true for port 465, secure:false for port 587
  72.     auth: {
  73.       user: 'ciq.resetpd@gmail.com',
  74.       pass: '2aI4emIDN'
  75.     }
  76.   }
  77. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement