From 68a20cc5736d4d188ef1c4aa79345874d51b3973 Mon Sep 17 00:00:00 2001 From: Toon van Strijp Date: Fri, 22 Feb 2019 00:33:15 +0100 Subject: [PATCH] fixed npm import paths by settings main and types correctly --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2ebbfbe..2dbd512 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "tikkie-checkout", "description": "TypeScript implementation of the Tikkie Fast Checkout API.", - "version": "1.0.0", + "version": "1.0.3", "license": "MIT", "author": "Toon van Strijp (https://www.toonvanstrijp.com)", "repository": "github:ToonvanStrijp/node-tikkie-checkout", @@ -17,7 +17,8 @@ "checkout", "request" ], - "main": "lib/index.js", + "main": "./lib/index.js", + "types": "./lib/index.d.ts", "files": [ "lib/", "LICENSE.md",