configchecker
Advanced tools
Comparing version 1.0.2 to 1.0.6
@@ -0,0 +0,0 @@ import { IConfigSource } from '../interfaces/IConfigSource'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { IConfigValueProfile } from '../interfaces/IConfigValueProfile'; |
@@ -13,3 +13,3 @@ "use strict"; | ||
get: function () { | ||
return ("\n**Key:** \"" + this.profile.key + "\"\n**Description:** \"" + this.profile.description + "\"\n**Config:**\n```json\n" + JSON.stringify(this.profile.configChecker.source, null, 4) + "\n```\n ").trim(); | ||
return ("\n**Key:** \"" + this.profile.key + "\"\n**Description:** \"" + this.profile.description + "\"\n").trim(); | ||
}, | ||
@@ -16,0 +16,0 @@ enumerable: true, |
@@ -0,0 +0,0 @@ import { ConfigValue } from './ConfigValue'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { ConfigChecker } from './classes/ConfigChecker'; |
@@ -0,0 +0,0 @@ "use strict"; |
export interface IConfigSource { | ||
[key: string]: string | undefined; | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ import { ConfigChecker } from '../classes/ConfigChecker'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ export declare function objectDecapitalize<T>(mixedObject: { |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "configchecker", | ||
"version": "1.0.2", | ||
"version": "1.0.6", | ||
"description": "Awesome checker of config - fully support typescript, fluent API,...", | ||
@@ -13,2 +13,3 @@ "main": "lib/index.js", | ||
"prettier-watch": "onchange \"{src,test,.vscode}/**/*.{ts,json}\" -- prettier --config .prettierrc --write {{changed}}", | ||
"documentation": "git diff --exit-code && typedoc --excludePrivate --hideGenerator --mode file --theme minimal --out docs --name \"Config checker\" ./src && git add docs && git commit -m \"Documentation\"", | ||
"test": "jest --config jestconfig.json", | ||
@@ -19,4 +20,3 @@ "test-watch": "jest --config jestconfig.json --watchAll", | ||
"preversion": "npm run lint", | ||
"postversion": "git push && git push --tags && npm publish", | ||
"documentation": "git diff --exit-code && typedoc --excludePrivate --hideGenerator --mode file --theme minimal --out docs --name \"Config checker\" ./src && git commit -am \"Documentation\"" | ||
"postversion": "git push && git push --tags && npm publish" | ||
}, | ||
@@ -23,0 +23,0 @@ "repository": { |
@@ -33,3 +33,3 @@ # Config Checker | ||
```typescript | ||
import { ConfigChecker } from '../src/classes/ConfigChecker'; | ||
import { ConfigChecker } from 'configchecker'; | ||
@@ -67,3 +67,3 @@ const config = ConfigChecker.from(process.env); | ||
```typescript | ||
import { ConfigChecker } from '../src/classes/ConfigChecker'; | ||
import { ConfigChecker } from 'configchecker'; | ||
const config = ConfigChecker.from(process.env); | ||
@@ -80,3 +80,3 @@ | ||
```typescript | ||
import { ConfigChecker } from '../src/classes/ConfigChecker'; | ||
import { ConfigChecker } from 'configchecker'; | ||
const config = ConfigChecker.from(process.env); | ||
@@ -83,0 +83,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
16614