Socket
Socket
Sign inDemoInstall

@tapjs/typescript

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tapjs/typescript - npm Package Compare versions

Comparing version 0.0.0-15 to 0.0.0-16

6

package.json
{
"name": "@tapjs/typescript",
"version": "0.0.0-15",
"version": "0.0.0-16",
"description": "a built-in tap extension that adds typescript support",

@@ -46,3 +46,3 @@ "type": "module",

"peerDependencies": {
"@tapjs/core": "0.0.0-15"
"@tapjs/core": "0.0.0-16"
},

@@ -53,3 +53,3 @@ "dependencies": {

"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
"node": ">=16"
},

@@ -56,0 +56,0 @@ "repository": {

# `@tapjs/typescript`
A default tap plugin providing typescript support
A default tap plugin providing typescript support.
## USAGE
This plugin is installed with tap by default. If you had
previously removed it, you can `tap plugin add @tapjs/typescript` to
bring it back.
When enabled, this plugin does the following things:
- adds `ts`, `tsx`, `cts`, `mts`, and `jsx` to the file
extensions that tap will load.
- adds `ts-node/esm` to the loader set.
- adds the `typecheck` config flag, which is true by default
The `typecheck` config defaults to being set, and type checking
your tests is generally a good idea. However, it is also often
considerably slower, adding as much as half a second to each test
suite file, which can be painful if you have a lot of test files.
You can disable type checking with `--no-typecheck` on the
command line, or by putting `typecheck: false` in `.taprc`, or `{
"tap": { "typecheck": false }}` in `package.json`, or
`TAP_TYPECHECK=0` in the environment.
If you find that your typescript tests are taking too long to run, and
decide to disable type checking, it is best to enable it in CI, for
example by setting `TAP_TYPECHECK=1` in the environment.
The `"skipLibCheck": true` option in tsconfig will also speed things up a
bit, at the expense of some type safety.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc