From e9ff15085c3646c6b4b7e5d5b5815de02d39a728 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 2 Nov 2024 18:01:51 +0100 Subject: [PATCH] don't compile tests --- .dockerignore | 2 -- package.json | 2 +- tsconfig.json | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.dockerignore b/.dockerignore index 9cddb1c..e00420a 100644 --- a/.dockerignore +++ b/.dockerignore @@ -5,5 +5,3 @@ !package-lock.json !LICENSE !tsconfig.json - -src/tests/ diff --git a/package.json b/package.json index 229b936..ebf1c78 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "lint": "npx eslint src", "format-check": "npx prettier --check src", "format-write": "npx prettier --write src", - "test": "npm run compile && npx jest" + "test": "npx jest" }, "repository": { "type": "git", diff --git a/tsconfig.json b/tsconfig.json index 333de2e..21419eb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -102,5 +102,5 @@ // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ "skipLibCheck": true /* Skip type checking all .d.ts files. */ }, - "include": ["./**/*.ts", "./src/locales/*.json"] + "exclude": ["./src/tests"] }