Skip to content

Commit

Permalink
feat: update script
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-yarmosh committed Apr 15, 2024
1 parent c87bc02 commit 781fdeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 781fdeb

Please sign in to comment.