config.js
371 Bytes
'use strict';
import path from 'path';
const env = process.env.NODE_ENV || 'development';
const defaults = {
port: 9000,
buildDir: path.normalize(__dirname + '/../packages/'),
dbDir: path.normalize(__dirname + '/../db')
};
const specific = {
development: {},
test: {},
production: {},
};
export default Object.assign(defaults, specific[env]);