From f9c6f590f8396b07b06dca3ad704e777bb854e59 Mon Sep 17 00:00:00 2001 From: 0mkar <0mkar@protonmail.com> Date: Mon, 28 Jan 2019 18:47:16 +0530 Subject: [PATCH] update tsconfig to generate declaration --- remix-url-resolver/package.json | 4 ++-- remix-url-resolver/tsconfig.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/remix-url-resolver/package.json b/remix-url-resolver/package.json index 3d65657442..f6add861f3 100644 --- a/remix-url-resolver/package.json +++ b/remix-url-resolver/package.json @@ -3,9 +3,9 @@ "version": "0.0.2", "description": "Solidity import url resolver engine", "main": "dist", - "types": "dist/main.d.ts", + "types": "dist/index.d.ts", "scripts": { - "build": "tsc --declaration", + "build": "tsc", "lint": "standard", "test": "standard && mocha --require ts-node/register tests/*.ts -t 300000" }, diff --git a/remix-url-resolver/tsconfig.json b/remix-url-resolver/tsconfig.json index 2e20354bf7..f33c2bad6b 100644 --- a/remix-url-resolver/tsconfig.json +++ b/remix-url-resolver/tsconfig.json @@ -5,7 +5,7 @@ "baseUrl": "./src", "outDir": "./dist", "sourceMap": true, - "declaration": false, + "declaration": true, "module": "commonjs", "strict": true, "noImplicitAny": false,