# Improve TypeScript task detection \(\#31711\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/2abc5893c1495058a16c56c7c9e7544a0ead05fe)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 2abc5893c1495058a16c56c7c9e7544a0ead05fe

Requested commit: 2abc5893c1495058a16c56c7c9e7544a0ead05fe

Commit: 2abc5893c1495058a16c56c7c9e7544a0ead05fe

Tree: 6e8e9c85b159fad042a11194bb6a6d36556c0f70

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Improve TypeScript task detection (#31711)

Parses project's package.json to better detect Jasmine, Jest, Vitest and
Mocha and `test`, `build` scripts presence.
Also tries to detect `pnpm` and `npx` as test runners, falls back to
`npm`.


https://github.com/user-attachments/assets/112d3d8b-8daa-4ba5-8cb5-2f483036bd98

Release Notes:

- Improved TypeScript task detection
```

## Parents

- [a23ee61a4b55ace5983b5c03b2edfe77b20013d8](https://git.cafe/gitcafe/zed/commit/a23ee61a4b55ace5983b5c03b2edfe77b20013d8?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/2abc5893c1495058a16c56c7c9e7544a0ead05fe?format=markdown)
