diff --git a/package.json b/package.json index b46fc64c..7fd30fe6 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,15 @@ { "name": "inceptum", - "version": "0.5.6", - "description": "hipages take on the foundational library for enterprise-grade apps written in NodeJS", + "version": "0.5.7", + "description": + "hipages take on the foundational library for enterprise-grade apps written in NodeJS", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "clean": "rm -rf dist docs/_book && mkdir docs/_book", "test": "NODE_ENV=test nyc mocha", - "itest": "NODE_ENV=test nyc --reporter=lcov --report-dir=icoverage mocha itest", + "itest": + "NODE_ENV=test nyc --reporter=lcov --report-dir=icoverage mocha itest", "coverage": "codecov -f coverage/lcov.info", "lint": "tslint -p . --type-check", "docs": "gitbook serve docs", @@ -24,9 +26,7 @@ "engine": { "node": ">7.0.0" }, - "files": [ - "dist" - ], + "files": ["dist"], "author": "Hipages", "license": "Apache-2.0", "directories": { @@ -95,17 +95,9 @@ "typescript": "2.4.0" }, "nyc": { - "include": [ - "src/**/*.ts", - "src/**/*.tsx" - ], - "extension": [ - ".ts", - ".tsx" - ], - "require": [ - "ts-node/register" - ], + "include": ["src/**/*.ts", "src/**/*.tsx"], + "extension": [".ts", ".tsx"], + "require": ["ts-node/register"], "sourceMap": true, "instrument": true } diff --git a/src/index.ts b/src/index.ts index 5020bca8..a99a129a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,13 +1,17 @@ -import './util/BluePatch'; +import "./util/BluePatch"; -export { Context } from './ioc/Context'; -export { PreinstantiatedSingletonDefinition } from './ioc/objectdefinition/PreinstantiatedSingletonDefinition'; -export { BaseSingletonDefinition } from './ioc/objectdefinition/BaseSingletonDefinition'; -export { InceptumApp } from './app/InceptumApp'; -export * from './log/LogManager'; -export { ExtendedError } from './util/ErrorUtil'; -export { DBClient } from './db/DBClient'; -export { DBTransaction } from './db/DBTransaction'; -export { SwaggerPlugin } from './swagger/SwaggerPlugin'; -export { default as WebPlugin } from './web/WebPlugin'; -import { Plugin, PluginContext } from './app/BaseApp'; +export { Context } from "./ioc/Context"; +export { + PreinstantiatedSingletonDefinition +} from "./ioc/objectdefinition/PreinstantiatedSingletonDefinition"; +export { + BaseSingletonDefinition +} from "./ioc/objectdefinition/BaseSingletonDefinition"; +export { InceptumApp } from "./app/InceptumApp"; +export * from "./log/LogManager"; +export { ExtendedError } from "./util/ErrorUtil"; +export { DBClient } from "./db/DBClient"; +export { DBTransaction } from "./db/DBTransaction"; +export { SwaggerPlugin } from "./swagger/SwaggerPlugin"; +export { default as WebPlugin } from "./web/WebPlugin"; +export { Plugin, PluginContext } from "./app/BaseApp";