From cadd0716e7e752a513b0a2a68bb6157ebe56ed8a Mon Sep 17 00:00:00 2001 From: nklomp Date: Wed, 6 Oct 2021 19:57:11 +0200 Subject: [PATCH] Exclude test resources --- package.json | 2 +- tsconfig.main.json | 7 +++++++ tsconfig.module.json | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 tsconfig.main.json diff --git a/package.json b/package.json index 04e1050f..ca194cc8 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "keywords": ["SSI", "Presentation Exchange", "Verifiable Credentials", "Verifiable Presentations", "DIF"], "scripts": { "build": "run-p build:*", - "build:main": "tsc -p tsconfig.json", + "build:main": "tsc -p tsconfig.main.json", "build:browser": "tsc -p tsconfig.browser.json", "build:module": "tsc -p tsconfig.module.json", "fix": "run-s fix:*", diff --git a/tsconfig.main.json b/tsconfig.main.json new file mode 100644 index 00000000..5918af19 --- /dev/null +++ b/tsconfig.main.json @@ -0,0 +1,7 @@ +{ + "extends": "./tsconfig", + "exclude": [ + "test/**", + "node_modules/**" + ] +} diff --git a/tsconfig.module.json b/tsconfig.module.json index cf32f627..f9fbedbe 100644 --- a/tsconfig.module.json +++ b/tsconfig.module.json @@ -6,6 +6,7 @@ "module": "esnext" }, "exclude": [ + "test/**", "node_modules/**" ] }