Sha256: ddc854b9fda2c1898c8c87a1ffbea41221f30c7efb3d397f3c296a9fd0d2cb59

Contents?: true

Size: 728 Bytes

Versions: 17

Compression:

Stored size: 728 Bytes

Contents

var fs = require('fs');

var pkg = JSON.parse(fs.readFileSync(__dirname + '/../package.json').toString());

exports.VERSION = pkg.version;

exports.DEFAULT_PORT = process.env.PORT || 9876;
exports.DEFAULT_HOSTNAME = process.env.IP || 'localhost';

// log levels
exports.LOG_DISABLE = 'OFF';
exports.LOG_ERROR   = 'ERROR';
exports.LOG_WARN    = 'WARN';
exports.LOG_INFO    = 'INFO';
exports.LOG_DEBUG   = 'DEBUG';

// Default patterns for the pattern layout.
exports.COLOR_PATTERN = '%[%p [%c]: %]%m';
exports.NO_COLOR_PATTERN = '%p [%c]: %m';

// Default console appender
exports.CONSOLE_APPENDER = {
  type: 'console',
  layout: {
    type: 'pattern',
    pattern: exports.COLOR_PATTERN
  }
};

exports.EXIT_CODE = '\x1FEXIT';

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
hooch-0.4.2 jasmine/node_modules/karma/lib/constants.js
hooch-0.4.1 jasmine/node_modules/karma/lib/constants.js
hooch-0.4.0 jasmine/node_modules/karma/lib/constants.js
hooch-0.3.0 jasmine/node_modules/karma/lib/constants.js
hooch-0.2.1 jasmine/node_modules/karma/lib/constants.js
hooch-0.2.0 jasmine/node_modules/karma/lib/constants.js
hooch-0.1.0 jasmine/node_modules/karma/lib/constants.js
hooch-0.0.8 jasmine/node_modules/karma/lib/constants.js
hooch-0.0.7 jasmine/node_modules/karma/lib/constants.js
hooch-0.0.6 jasmine/node_modules/karma/lib/constants.js
entangled-0.0.16 spec/dummy/public/node_modules/karma/lib/constants.js
entangled-0.0.15 spec/dummy/public/node_modules/karma/lib/constants.js
entangled-0.0.14 spec/dummy/public/node_modules/karma/lib/constants.js
entangled-0.0.13 spec/dummy/public/node_modules/karma/lib/constants.js
entangled-0.0.12 spec/dummy/public/node_modules/karma/lib/constants.js
entangled-0.0.11 spec/dummy/public/node_modules/karma/lib/constants.js
entangled-0.0.10 spec/dummy/public/node_modules/karma/lib/constants.js