Consider bin script as a package usage
See original GitHub issueextensible-react-scripts 😕 NOTUSED? Still using extensible-react-scripts? Depcheck did not find code similar to
require('extensible-react-scripts')
orimport 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:
- Created 6 years ago
- Reactions:3
- Comments:10
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
When I use depcheck by itself, I use a .depcheckrc to include my bin folder explicitly:
What would be nice would be if npm-check would also “honor” the presence of a .depcheckrc or other depcheck config file?
Yes, I installed them