From 471490c5890609fb7664a115358751adfb90ab37 Mon Sep 17 00:00:00 2001 From: Sebastian Gatti Date: Tue, 16 Feb 2021 15:10:13 +0000 Subject: [PATCH] Don't build tests, and fix bin path --- package.json | 4 ++-- tsconfig.json | 16 +++++++++++++--- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index cb44c1b..b1ca1c4 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,9 @@ "name": "volt", "version": "0.0.1-alpha3", "description": "Open source Azure Key Vault API compatible server", - "main": "./dist/src/main.js", + "main": "./dist/main.js", "bin": { - "volt": "./dist/src/main.js" + "volt": "./dist/main.js" }, "scripts": { "test": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha -r ts-node/register -r tests/fixtures.ts --no-timeouts --grep \"@loki\" --recursive tests/**/*.test.ts tests/**/**/*.test.ts --exit", diff --git a/tsconfig.json b/tsconfig.json index db12ecc..063021b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,11 +16,21 @@ "declarationMap": true, "importHelpers": true, "declarationDir": "./typings", - "lib": ["es5", "es6", "es7", "esnext", "dom"], + "lib": [ + "es5", + "es6", + "es7", + "esnext", + "dom" + ], "esModuleInterop": true, "downlevelIteration": true }, "compileOnSave": true, - "exclude": ["node_modules"], - "include": ["./src/**/*.ts", "./tests/**/*.ts"] + "exclude": [ + "node_modules" + ], + "include": [ + "./src/**/*.ts" + ] } \ No newline at end of file