diff --git a/src/function/host.json b/host.json similarity index 100% rename from src/function/host.json rename to host.json diff --git a/package.json b/package.json index 1a2f2ae..e6d7ea1 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,13 @@ } ], "description": "Automated SSL/TLS certificate management using ACME protocol with Azure KeyVault and Azure DNS", - "main": "dist/index.js", + "main": "dist/function/index.js", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + }, "types": "dist/index.d.ts", "bin": { "azure-acme-provisioner": "./dist/cli.js"