diff --git a/package.json b/package.json index 766a7d3..af3fb8b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "name": "fetch-jsonp", "version": "1.3.0", "description": "Fetch JSONP like a boss using Fetch API", - "main": "build/fetch-jsonp.js", + "main": "./build/fetch-jsonp.js", + "types": "./index.d.ts", "scripts": { "prepublish": "npm run lint && npm run clean && npm run build", "build": "babel src/ --modules umd --out-dir build",