Open
Description
🎯 Aim of the feature
The aim is to show and allow to run npm scripts that are specified in the package.json
file of the SPFx project in the Tasks view.
The npm scripts should be shown in the same list as gulp tasks but with a different icon so there will be easier to recognize
📷 Images (if possible) with expected result
🤔 Additional remarks or comments
reference:
#339 (reply in thread)
#339 (comment)
🏗️ Follow up work (issues) after this will be done
We may create issues for the list below after we start working on this one or this will be done. We already have some ideas how we might extend this future when the initial scope of just showing npm scripts from package.json.
- group gulp tasks and npm scripts in to node/folders and refactor the list view to tree view
- add the possibility (with a '+' add button) to define your own custom command. The custom command might be either project scope (and then it should be just added to package.json as an npm script, or it may be extension scoped, in this case it should be saved in user settings for this extension and should be present always for every project. Extension scoped commands when executed should run in the default terminal in the current location of the folder.