esrol
Version:
A wrapper of all Esrol server components for creating performance efficient, well structured (by following 'convention over configuration' approach), but also configurable, server-side applications.
10 lines (9 loc) • 332 B
JavaScript
;
let Esrol = require('./lib/esrol');
let path = require('path');
let tests = process.argv[2] === '--tests';
let modulePath = tests ? path.join(__dirname, 'tests', 'out') : null;
// because of broken travis build
if (process.argv[1] !== '/home/travis/build/esrol/esrol/index.js') {
new Esrol(__dirname, modulePath);
}