Skip to content

Conversation

MaStr11
Copy link
Contributor

@MaStr11 MaStr11 commented Apr 20, 2020

Fixes #2

This PR adds completion to npm run <tab>. Reads all the scripts from package.json found in the current directory or any parent directory, filters for the completion and adds fitting script names to the completion list. The script cmd itself is placed in the tooltip (supported e.g. by Powershell ISE)

@gluons gluons self-assigned this Apr 21, 2020
Co-Authored-By: Saran Tanpituckpong ✅ <[email protected]>
@MaStr11
Copy link
Contributor Author

MaStr11 commented Apr 21, 2020

Should I update the readme to reflect the new feature?

A npm tab completion for PowerShell.

A npm tab completion for PowerShell including support for npm scripts.

@gluons
Copy link
Member

gluons commented Apr 21, 2020

Not need. It's fine.

@gluons gluons merged commit 5c94273 into PowerShell-Completion:master Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Complete with scripts of package.json on "npm run"
2 participants