Comparing version 0.1.0 to 0.2.0
@@ -0,7 +1,20 @@ | ||
/* | ||
JBoss, Home of Professional Open Source | ||
Copyright Red Hat, Inc., and individual contributors. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
module.exports = function(grunt) { | ||
'use strict'; | ||
grunt.initConfig({ | ||
// These are the properties that grunt-fh-build will use | ||
//unit: '<%= _test_runner %> <%= _unit_args %>', | ||
//unit_cover: 'istanbul cover --dir cov-unit <%= _test_runner %> -- <%= _unit_args %>', | ||
mochaTest: { | ||
@@ -13,4 +26,3 @@ all: ['./test/*.js'] | ||
grunt.loadNpmTasks('grunt-fh-build'); | ||
grunt.registerTask('default', ['fh:default']); | ||
grunt.registerTask('default', ['mochaTest', 'fh:default']); | ||
}; |
@@ -0,1 +1,17 @@ | ||
/* | ||
JBoss, Home of Professional Open Source | ||
Copyright Red Hat, Inc., and individual contributors. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
var bunyan = require('bunyan'); | ||
@@ -2,0 +18,0 @@ var cluster = require('cluster'); |
{ | ||
"name": "fh-logger", | ||
"description": "Enables a simple way of configuring and creating loggers, configured with request serializers, including clustering information.", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"repository": { | ||
@@ -9,3 +9,4 @@ "type": "git", | ||
}, | ||
"author": "FeedHenry", | ||
"author": "Red Hat", | ||
"license": "Apache-2.0", | ||
"main": "./lib/fh_logger.js", | ||
@@ -20,3 +21,3 @@ "engines": { | ||
"grunt": "^0.4.5", | ||
"grunt-fh-build": "^0.0.14", | ||
"grunt-fh-build": "^0.3.1", | ||
"chai": "^3.3.0", | ||
@@ -23,0 +24,0 @@ "mocha": "2.3.1", |
@@ -55,17 +55,5 @@ ## fh-logger | ||
```shell | ||
grunt fh:unit | ||
grunt mochaTest | ||
``` | ||
To run all tests in a test file: | ||
```shell | ||
whiskey --real-time --report-timing --failfast --tests test.test_fh_logger.* | ||
``` | ||
To run a single test method: | ||
```shell | ||
whiskey --real-time --report-timing --failfast --tests test.test_fh_logger.test_createLogger_stream_process_stdout | ||
``` | ||
@@ -0,1 +1,17 @@ | ||
/* | ||
JBoss, Home of Professional Open Source | ||
Copyright Red Hat, Inc., and individual contributors. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
var fh_logger = require('../lib/fh_logger.js'); | ||
@@ -2,0 +18,0 @@ var expect = require('chai').expect |
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
NPM Shrinkwrap
Supply chain riskPackage contains a shrinkwrap file. This may allow the package to bypass normal install procedures.
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
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
32523
12
0
488
59
1