njet-configuration
Advanced tools
Comparing version 0.1.0 to 1.0.0
@@ -123,2 +123,10 @@ 'use strict'; | ||
this.createSchema = function (schemaConfigObject) { | ||
if ((typeof schemaConfigObject) !== 'object') { | ||
throw new Error('Schema expect schema object'); | ||
} | ||
return this.expect.schema(schemaConfigObject); | ||
}; | ||
this.clearSchema = function () { | ||
@@ -125,0 +133,0 @@ schema = undefined; |
{ | ||
"name": "njet-configuration", | ||
"version": "0.1.0", | ||
"description": "Configuration handler for njet", | ||
"version": "1.0.0", | ||
"description": "Configuration handler for nodejs projects", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "mocha --reporter=spec" | ||
"test": "mocha --reporter spec" | ||
}, | ||
@@ -9,0 +9,0 @@ "repository": { |
@@ -1,2 +0,2 @@ | ||
njet-configuration | ||
njet-configuration [![Build Status](https://travis-ci.org/dariuszp/njet-configuration.png?branch=master)](https://travis-ci.org/dariuszp/njet-configuration) | ||
================== | ||
@@ -3,0 +3,0 @@ |
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
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 v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
17337
365
0