diff --git a/lib/index.d.ts b/lib/index.d.ts new file mode 100644 index 0000000..63c4d18 --- /dev/null +++ b/lib/index.d.ts @@ -0,0 +1,4 @@ +import * as Types from "./types"; +import * as Request from "./request"; +declare const _default: typeof Types & typeof Request; +export = _default; diff --git a/lib/index.js b/lib/index.js new file mode 100644 index 0000000..76a62ca --- /dev/null +++ b/lib/index.js @@ -0,0 +1,5 @@ +"use strict"; +const Types = require("./types"); +const Request = require("./request"); +module.exports = Object.assign({}, Types, Request); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lib/index.js.map b/lib/index.js.map new file mode 100644 index 0000000..09abc01 --- /dev/null +++ b/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,qCAAoC;AAEpC,iBAAU,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC"} \ No newline at end of file diff --git a/package.json b/package.json index 1b599e8..eb1b4b8 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "nodename-core", - "version": "0.1.10", - "main": "lib/listener.js", - "types": "lib/listener.d.ts", + "version": "0.1.12", + "main": "lib/index.js", + "types": "lib/index.d.ts", "author": "Fabian Stamm ", "license": "MIT", "scripts": { diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..0871703 --- /dev/null +++ b/src/index.ts @@ -0,0 +1,4 @@ +import * as Types from "./types"; +import * as Request from "./request" + +export = Object.assign({}, Types, Request);