From 1ed2c62745937596cb3e436ec11509a436421ff9 Mon Sep 17 00:00:00 2001 From: cleever Date: Tue, 3 Oct 2017 13:56:42 -0300 Subject: [PATCH] Fix for https://github.com/chieffancypants/angular-hotkeys/issues/239 --- index.js | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 index.js diff --git a/index.js b/index.js new file mode 100644 index 0000000..f98f979 --- /dev/null +++ b/index.js @@ -0,0 +1,2 @@ +require('./build/hotkeys.js'); +module.exports = 'cfp.hotkeys'; diff --git a/package.json b/package.json index 75c6c0f..5d8ef9f 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "license": "MIT", "description": "Automatic keyboard shortcuts for your Angular Apps", "homepage": "https://chieffancypants.github.io/angular-hotkeys", - "main": "build/hotkeys.js", + "main": "index.js", "keywords": [ "angular", "angularjs",