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",