Skip to content

Commit

Permalink
0.5.7 - Fix plugin export
Browse files Browse the repository at this point in the history
  • Loading branch information
joeruello committed Sep 4, 2017
1 parent dc5f742 commit a1b253a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 29 deletions.
26 changes: 9 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -24,9 +26,7 @@
"engine": {
"node": ">7.0.0"
},
"files": [
"dist"
],
"files": ["dist"],
"author": "Hipages",
"license": "Apache-2.0",
"directories": {
Expand Down Expand Up @@ -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
}
Expand Down
28 changes: 16 additions & 12 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -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";

0 comments on commit a1b253a

Please sign in to comment.