Created
July 23, 2020 11:32
-
-
Save adamkiss/55cd59c8e900749c7830cfef2dd7bd08 to your computer and use it in GitHub Desktop.
NPM RUN Shortcut
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env fish | |
function nr -a script --description 'npm run shortcut with default script set to "start"' | |
if not string length -q $script | |
set script start | |
end | |
npm run $script | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment