From 4fbcc21947e136b40fab1cde3c693448c0f8040d Mon Sep 17 00:00:00 2001 From: Dominik Sigmund <dominik.sigmund@br.de> Date: Thu, 23 Apr 2020 23:22:01 +0200 Subject: [PATCH] cleanup --- README.md | 12 +++--------- index.test.js | 6 ------ package.json | 9 ++++----- 3 files changed, 7 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index cb2c045..1f3a6d7 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,14 @@ # config -[](https://it-devops-01.br-edv.brnet.int/general/config/commits/master) -[](https://it-devops-01.br-edv.brnet.int/general/config/commits/master) -[](https://it-devops-01.br-edv.brnet.int:8999/dashboard?id=config) - -Simple Config Log with HashiCorp Vault support. +Simple Config with ENV Support. ## Installation -- `npm config set @br:registry https://npm.br-edv.brnet.int` -- `npm config set strict-ssl false` -- `npm install --save @br/config` +- `npm install --save @plastdev/config` ## Usage -`const Config = require('@br/config')` +`const Config = require('@plastdev/config')` `let config = new Config()` Then config is your config object. (Use it like config.setting) diff --git a/index.test.js b/index.test.js index 6e5759d..a0541ae 100644 --- a/index.test.js +++ b/index.test.js @@ -1,9 +1,3 @@ -/* TODO: - -* - overwrite -* - env overwrite -*/ - const fs = require('fs').promises const Config = require('./index') diff --git a/package.json b/package.json index 2109395..473a86a 100644 --- a/package.json +++ b/package.json @@ -1,18 +1,17 @@ { - "name": "@br/config", + "name": "@plastdev/config", "version": "1.4.0", - "description": "Simple Config Log with HashiCorp Vault support", + "description": "Simple Config with ENV Support", "main": "index.js", "scripts": { "test": "jest", - "test:mutation": "stryker run", - "sonarqube": "sonar-scanner -Dsonar.projectKey=config -Dsonar.sources=. -Dsonar.host.url=https://it-devops-01.br-edv.brnet.int:8999 -Dsonar.login=gitlab" + "test:mutation": "stryker run" }, "keywords": [ "config", "env" ], - "author": "Dominik Sigmund", + "author": "Dominik Sigmund <dominik.sigmund@br.de>", "license": "ISC", "dependencies": { "lodash.merge": "^4.6.2" -- GitLab