colorful-logger
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "colorful-logger", | ||
"version": "0.1.0", | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/saitodisse/colorful-logger", | ||
@@ -8,3 +8,3 @@ "authors": [ | ||
], | ||
"description": "trace and render logs with colors", | ||
"description": "colorful console.log", | ||
"main": "index.js", | ||
@@ -11,0 +11,0 @@ "moduleType": [ |
@@ -6,9 +6,2 @@ /* | ||
grunt.initConfig({ | ||
nodeunit: { | ||
options:{ | ||
reporter: 'default'//'minimal' | ||
}, | ||
files: ['tests/*.test.js'], | ||
}, | ||
jshint: { | ||
@@ -26,6 +19,2 @@ options: { | ||
tasks: ['jshint'] | ||
}, | ||
nodeunit:{ | ||
files: ['src/*.js', 'tests/*.test.js'], | ||
tasks: ['nodeunit'] | ||
} | ||
@@ -35,7 +24,6 @@ } | ||
grunt.loadNpmTasks('grunt-contrib-nodeunit'); | ||
grunt.loadNpmTasks('grunt-contrib-watch'); | ||
grunt.loadNpmTasks('grunt-contrib-jshint'); | ||
grunt.registerTask('default', ['nodeunit', 'jshint']); | ||
grunt.registerTask('default', ['jshint']); | ||
grunt.option('force', true); | ||
@@ -45,3 +33,2 @@ | ||
'jshint', | ||
'nodeunit', | ||
'watch' | ||
@@ -48,0 +35,0 @@ ]); |
{ | ||
"name": "colorful-logger", | ||
"version": "0.1.1", | ||
"description": "colorful console log", | ||
"version": "0.1.2", | ||
"description": "colorful console.log", | ||
"main": "index.js", | ||
@@ -28,9 +28,5 @@ "repository": { | ||
"grunt-contrib-jshint": "^0.10.0", | ||
"grunt-contrib-nodeunit": "^0.4.0", | ||
"grunt-contrib-watch": "^0.6.1", | ||
"jshint-stylish": "^0.2.0" | ||
}, | ||
"scripts": { | ||
"test": "jshint . && nodeunit -e node tests/" | ||
} | ||
} |
by: [saitodisse](http://saitodisse.github.io/) | ||
#colorful-logger | ||
###[beta 0.1.0] | ||
###[0.1.1 (beta)] | ||
colorful console.log | ||
##AMD (require.js) | ||
###install with bower | ||
###bower | ||
``` | ||
bower install git@github.com:saitodisse/colorful-logger.git --save | ||
bower install colorful-logger --save | ||
``` | ||
###npm | ||
``` | ||
npm install colorful-logger --save | ||
``` | ||
###configure | ||
###configure on AMD | ||
```javascript | ||
@@ -30,3 +33,3 @@ require.config({ | ||
###call | ||
####call | ||
```javascript | ||
@@ -50,29 +53,10 @@ define([ | ||
##tests | ||
###pre-requirements | ||
###install buster | ||
``` | ||
sudo npm i jshint nodeunit supervisor grunt-cli -g | ||
sudo npm i buster -g | ||
``` | ||
###test + jshint | ||
###run buster-test | ||
``` | ||
grunt | ||
``` | ||
###watch for changes: test + jshint | ||
``` | ||
grunt test | ||
``` | ||
###nodeunit + node-debug | ||
from: http://stackoverflow.com/questions/16652358/how-to-debug-nodeunit-using-node-inspector | ||
```shell | ||
npm -g install supervisor node-inspector | ||
# console 1: supervisor restarts node-inspector when it quits, ignores file changes | ||
supervisor -i . -x node-inspector . | ||
# console 2 | ||
supervisor --debug-brk -- `which nodeunit` tests/ | ||
``` | ||
buster-test | ||
``` |
@@ -1,3 +0,14 @@ | ||
(function(root, factory) { | ||
/** @license MIT License (c) Copyright (c) 2014 Julio Makdisse Saito */ | ||
/** | ||
* ColorfulLogger | ||
* | ||
* Licensed under the MIT License at: | ||
* http://www.opensource.org/licenses/mit-license.php | ||
* | ||
* @author Julio Makdisse Saito (saitodisse@gmail.com) | ||
*/ | ||
(function(root, factory) { | ||
// AMD | ||
@@ -4,0 +15,0 @@ if (typeof define === 'function' && define.amd) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
34422
4
1021
0
20
60
1