1.0.1 • Published 7 years ago

console-debugger v1.0.1

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
7 years ago

console-debugger

Utility for managing console.log statements to external file with timestamp.

Installation

Inside of terminal type, "npm install console-debugger --sav-dev".

Automated Versioning

In order to start the debug tool you must add "DEBUG=true" in the front of "nodemon lib/util.js"

If done correctly you should see three versions (Major, Minor, and Patch). Your test file should look like what is shown below:

"const util = require('utility_debug_tool');

//bump versions (patch, minor, major) const patch = util.bump('3.3.3', 'patch'); const minor = util.bump('3.3.3', 'minor'); const major = util.bump('3.3.3', 'major');

// Success messages util.debug('patch', patch, true); util.debug('minor', minor, true);

// Error Messages util.debug('major', major, false);"

Task Runner

Gulp is used to execute the task runner. In order to use our task runner scripts, install gulp and gulp-cli:

npm install -g gulp
npm install -g gulp-cli

And then run the following command

gulp --semver major //To bump the major version (X.0.1) => (2.0.1)
gulp --semver minor //To bump the minor version (1.X.1) => (1.1.1)
gulp --semver patch //To bump the patch version (1.0.X) => (1.0.2)

Code Ship Status

Codeship Status for wheezykw/console-debugger

1.0.1

7 years ago

1.0.0

7 years ago