From d7cb1411998564f741b91e8b25ba14dc5c0fe62c Mon Sep 17 00:00:00 2001 From: Amir Arad Date: Sun, 19 May 2019 18:09:58 +0300 Subject: [PATCH] publish typescript definitions (#83) fixes #48 --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 6300c82..625c515 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "description": "A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.", "version": "3.6.9", "main": "index.js", + "types": "index.d.ts", "module": "dist/hotkeys.esm.js", "scripts": { "lint": "eslint --ext .js src website", @@ -17,6 +18,7 @@ "doc:build": "rimraf doc && NODE_ENV=production parcel build website/index.html --out-dir doc --public-url ./ --no-cache --no-source-maps" }, "files": [ + "index.d.ts", "dist", "doc" ],