diff --git a/test_versions b/test_versions index 3538ba36..e6770e9a 100755 --- a/test_versions +++ b/test_versions @@ -1,8 +1,8 @@ #!/bin/bash npm install -g typescript yarn -DEPS=$(jq -r '.dependencies, .devDependencies | to_entries[] | select(.key | test("jest"; "i")) | .key + "@" + .value' package.json) +DEPS=$(jq -r '.dependencies, .devDependencies | to_entries[] | select(.key | test("jest"; "i") or . == "jest") | .key + "@" + .value' package.json) for DEP in $DEPS do echo "Installing $DEP globally..." npm install -g "$DEP" -done +done \ No newline at end of file