question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider bin script as a package usage

See original GitHub issue

extensible-react-scripts 😕 NOTUSED? Still using extensible-react-scripts? Depcheck did not find code similar to require('extensible-react-scripts') or import from 'extensible-react-scripts'

I indeed don’t do imports from this package, but I use it on npm scripts. e.g:

"start": "extensible-react-scripts start",
"test": "extensible-react-scripts test --env=jsdom"

Could that be considered a package usage?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:3
  • Comments:10

github_iconTop GitHub Comments

1reaction
jkubeckicommented, Feb 12, 2021

When I use depcheck by itself, I use a .depcheckrc to include my bin folder explicitly:

parsers:
  '**/*.js': ['es6']
  '**/bin/*': ['es6']

What would be nice would be if npm-check would also “honor” the presence of a .depcheckrc or other depcheck config file?

0reactions
Ionarucommented, Oct 10, 2017

Yes, I installed them

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm bin script confusion: Abusing 'bin' to hijack 'node' command
An npm package can export executable files by adding a bin field to their package.json. When installed, the executable files are unpacked and ......
Read more >
13 Installing npm packages and running bin scripts
Locally installing a package with bin scripts means installing it as a dependency inside a package. The scripts are only accessible within that...
Read more >
How to make bin script available for npm package installed ...
To use this, supply a bin field in your package.json which is a map of command name to local file name. On install,...
Read more >
package.json - npm Docs
To use this, supply a bin field in your package.json which is a map of command name to local file name. When this...
Read more >
Adding arguments and options to your Bash scripts - Red Hat
Look at your $PATH variable, which contains /home/username/bin as one component. If the ~/bin directory does not exist, you can create it. Or ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found