From 259d5862b4940a0332e635adf2844f3692311f97 Mon Sep 17 00:00:00 2001 From: Gorkem CINAR Date: Wed, 13 Dec 2017 00:02:08 +0000 Subject: [PATCH] updated --- .npmignore | 2 ++ package.json | 5 +---- tsconfig.json | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.npmignore b/.npmignore index e69de29..ff37dc8 100644 --- a/.npmignore +++ b/.npmignore @@ -0,0 +1,2 @@ +tsconfig.json +src \ No newline at end of file diff --git a/package.json b/package.json index 42c4c6b..09a1ca6 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,7 @@ "version": "1.0.0", "description": "setInterval and clearInterval implementation to support keep running on inactive tabs for Chrome, Firefox and IE", "main": "dist/module.js", - "module": "dist/module.js", - "scripts": { - "install": "tsc" - }, + "types": "dist/module.d.ts", "keywords": [ "clearInterval", "clear interval", diff --git a/tsconfig.json b/tsconfig.json index 400350e..fb3d4ce 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "sourceMap": false, "emitDecoratorMetadata": true, "experimentalDecorators": true, - "declaration": false, + "declaration": true, "noImplicitAny": true, "noImplicitReturns": true, "removeComments": true, @@ -11,7 +11,7 @@ "module": "commonjs", "moduleResolution": "node", "target": "es5", - "outDir": "dist", + "outDir": "./dist", "lib": [ "es6", "webworker"