Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const NODE_ENV = process.env.NODE_ENV || 'development';
- module.exports = {
- /** The environment to use when building the project */
- env: NODE_ENV,
- /** The full path to the project's root directory */
- basePath: __dirname,
- /** The name of the directory containing the application source code */
- srcDir: 'src',
- /** The file name of the application's entry point */
- main: 'main',
- /** The name of the directory in which to emit compiled assets */
- outDir: 'dist',
- /** The base path for all projects assets (relative to the website root) */
- publicPath: '/',
- /** Whether to generate sourcemaps */
- sourcemaps: true,
- /** A hash map of keys that the compiler should treat as external to the project */
- externals: {},
- /** A hash map of variables and their values to expose globally */
- globals: {},
- /** Whether to enable verbose logging */
- verbose: false,
- /** The list of modules to bundle separately from the core application code */
- vendors: [
- 'react',
- 'react-dom',
- 'redux',
- 'react-redux',
- 'redux-thunk',
- 'react-router',
- ],
- server: {
- HOST: 'localhost',
- PORT: 3000,
- GQL_PORT: 8324,
- GQL_ENDPOINT: '/object_api',
- WS_GQL_ENDPOINT: '/subscriptions'
- },
- /** Database */
- database: {
- mysql: {
- production: {
- user: 'cloudiq',
- db: 'cloudiq',
- host: 'localhost',
- port: '3306',
- password: 'cheZ2eil'
- },
- development: {
- user: 'cloudiq',
- db: 'cloudiq_dev',
- host: 'localhost',
- port: '3306',
- password: 'cheZ2eil',
- connectionLimit: '0'
- },
- test: {
- user: 'cloudiq',
- db: 'cloudiq_test',
- host: 'localhost',
- port: '3306',
- password: 'cheZ2eil',
- connectionLimit: '0'
- }
- }
- },
- smtp: {
- host: 'smtp.gmail.com',
- port: 587,
- secure: false, // secure:true for port 465, secure:false for port 587
- auth: {
- user: 'ciq.resetpd@gmail.com',
- pass: '2aI4emIDN'
- }
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement