We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In my package.json I use ts-node to quickly run my program while developing, but depcheck says ts-node isn't used at all.
package.json
"scripts": { "start": "node --require ts-node/register src/index.ts" },
> depcheck Unused devDependencies * ts-node
Since I am using ts-node in an npm script, it shouldn't be caught by depcheck as an unused dependency.
The text was updated successfully, but these errors were encountered:
Hmm...
This is interesting. You are using --require parameter to declare dependency. The strings (ts-node/register) is not a bin, it is actually a module.
--require
ts-node/register
bin
Sorry, something went wrong.
No branches or pull requests
In my
package.json
I use ts-node to quickly run my program while developing, but depcheck says ts-node isn't used at all.Since I am using ts-node in an npm script, it shouldn't be caught by depcheck as an unused dependency.
The text was updated successfully, but these errors were encountered: