aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.ts4
-rw-r--r--package.json2
-rw-r--r--src/index.ts4
-rw-r--r--tsconfig.json5
-rw-r--r--webpack.config.js2
5 files changed, 9 insertions, 8 deletions
diff --git a/index.ts b/index.ts
deleted file mode 100644
index 7057985..0000000
--- a/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import { BasePubSub, IPubSubEvent, ISubscriber } from './src/base-pubsub';
-import { PluginPubSub } from './src/plugin-pubsub';
-
-export { BasePubSub, PluginPubSub, IPubSubEvent, ISubscriber };
diff --git a/package.json b/package.json
index f097271..f1dce68 100644
--- a/package.json
+++ b/package.json
@@ -29,7 +29,7 @@
"ts-loader": "^5.3.2",
"tslint": "^5.11.0",
"tslint-sonarts": "^1.7.0",
- "typescript": "2.7.2",
+ "typescript": "3.3.4000",
"webpack": "4.12.0",
"webpack-cli": "^3.1.0"
}
diff --git a/src/index.ts b/src/index.ts
new file mode 100644
index 0000000..4d2efa1
--- /dev/null
+++ b/src/index.ts
@@ -0,0 +1,4 @@
+import { BasePubSub, IPubSubEvent, ISubscriber } from './base-pubsub';
+import { PluginPubSub } from './plugin-pubsub';
+
+export { BasePubSub, PluginPubSub, IPubSubEvent, ISubscriber };
diff --git a/tsconfig.json b/tsconfig.json
index 25cb4c6..b4ab1b4 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -9,10 +9,11 @@
"forceConsistentCasingInFileNames": true,
"sourceMap": true,
"declaration": true,
- "rootDir": "src"
+ "rootDir": "src",
+ "skipLibCheck": true
},
"files": [
- "./index.ts"
+ "./src/index.ts"
],
"compileOnSave": false,
"buildOnSave": false
diff --git a/webpack.config.js b/webpack.config.js
index 2806bd9..b8fdd87 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -3,7 +3,7 @@ var webpack = require("webpack");
var UglifyJsPlugin = require("uglifyjs-webpack-plugin");
var PATHS = {
- entryPoint: path.resolve(__dirname, './index.ts'),
+ entryPoint: path.resolve(__dirname, './src/index.ts'),
bundles: path.resolve(__dirname, 'dist'),
};