From e2269a0821559009300c6cc7c4fe1e62d80f1e40 Mon Sep 17 00:00:00 2001 From: Piotr Witek Date: Tue, 20 Dec 2016 15:20:57 +0100 Subject: [PATCH 1/2] added jsnext fixes #5 --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 50390a3..c8aab67 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "url": "git+https://github.com/piotrwitek/jspm-hmr.git" }, "main": "dist/jspm-hmr-server.js", + "jsnext:main": "jsnext/jspm-hmr-server.js", "typings": "dist/jspm-hmr-server.d.ts", "bin": "dist/cli.js", "engines": { From a0e9c990e3b3ac5093189e216e10fae6fe7f365c Mon Sep 17 00:00:00 2001 From: Piotr Witek Date: Tue, 20 Dec 2016 15:21:41 +0100 Subject: [PATCH 2/2] added jspm-hmr bin with es5 support for older runtimes --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c8aab67..97ec844 100644 --- a/package.json +++ b/package.json @@ -14,9 +14,11 @@ "main": "dist/jspm-hmr-server.js", "jsnext:main": "jsnext/jspm-hmr-server.js", "typings": "dist/jspm-hmr-server.d.ts", - "bin": "dist/cli.js", + "bin": { + "jspm-hmr": "./dist/cli.js" + }, "engines": { - "node": ">=6.0.0" + "node": ">=0.10.x" }, "files": [ "boilerplate/",