From 342be430cb943c4c167cbfa247a6c49dca36f322 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Thu, 21 Jun 2018 17:57:33 -0400 Subject: [PATCH] Added types to package.json. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6837ca837..c9b464055 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "name": "ethers", "version": "4.0.0", "description": "Ethereum wallet library.", - "main": "index.js", + "main": "./src/index.js", + "types": "./dist/ethers.d.ts", "scripts": { "build": "tsc -p ./tsconfig.json", "auto-build": "npm run build -- -w",