From 781fdeb19f20792771983b5cca186577219bacb7 Mon Sep 17 00:00:00 2001 From: Alexey Yarmosh Date: Mon, 15 Apr 2024 16:29:19 +0200 Subject: [PATCH] feat: update script --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index da159c5..4c3395e 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Add tests to extension: # From the extension folder call: original_dir=$PWD npm i --save-dev chai @types/chai mocha @types/mocha sinon @types/sinon ts-node -jq --tab '.compilerOptions.module = "ESNext"' tsconfig.json > temp.json && mv temp.json tsconfig.json +jq 'del(.compilerOptions.rootDir) | .compilerOptions.module = "ESNext" | .include = ["./src/**/*.ts", "../../lib/*.ts"]' tsconfig.json > temp.json && mv temp.json tsconfig.json jq --tab '.scripts.test = "TS_NODE_TRANSPILE_ONLY=true mocha"' package.json > temp.json && mv temp.json package.json mkdir test while [[ $PWD != */extensions ]]; do cd ..; done