3

In VSCode, the "NPM SCRIPTS" panel shows the root package.json scripts as expected and desired, however it also shows scripts from a package.json in a hidden .cache folder.

Other SO answers advise editing VSCode's settings.json to control this area, for example using:

`"npm.exclude": "**/@(|vendor|node_modules|bower_components|dist|static)/**",`

However adding |.cache to this exclude line does nothing; the .cache package.json scripts are still displayed.

Put another way: How can I just see the root package.json NPM scripts in VSCode's "NPM SCRIPTS" panel?

enter image description here

2

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.