From c143e9c855912d6d60e5bd5fc9aea188a868cdf3 Mon Sep 17 00:00:00 2001 From: junderw Date: Tue, 15 Jan 2019 17:48:10 +0900 Subject: [PATCH] Specify version to help prevent large diffs --- package.json | 6 +++--- tsconfig.json | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index c00414a..a77761b 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "bitcoinjs" ], "scripts": { - "build": "tsc -d -p ./tsconfig.json", + "build": "tsc -p ./tsconfig.json", "coverage-report": "npm run build && npm run nobuild:coverage-report", "coverage-html": "npm run build && npm run nobuild:coverage-html", "coverage": "npm run build && npm run nobuild:coverage", @@ -39,7 +39,7 @@ "src" ], "dependencies": { - "@types/node": "^10.12.18", + "@types/node": "10.12.18", "bech32": "^1.1.2", "bip32": "git+https://github.com/junderw/bip32.git#typeScript", "bip66": "^1.1.0", @@ -52,7 +52,7 @@ "randombytes": "^2.0.1", "tiny-secp256k1": "^1.0.0", "typeforce": "^1.11.3", - "typescript": "^3.2.2", + "typescript": "3.2.2", "varuint-bitcoin": "^1.0.4", "wif": "^2.0.1" }, diff --git a/tsconfig.json b/tsconfig.json index 787769d..0ab4612 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,7 @@ "target": "ES2015", "module": "commonjs", "outDir": "./src", + "declaration": true, "declarationDir": "./types", "rootDir": "./ts_src", "types": [