Last active
February 6, 2023 14:56
-
-
Save runspired/b5552be57d3c8a5a7821 to your computer and use it in GitHub Desktop.
Make Alfred / Spotlight ignore node_modules and bower_components
This file contains 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
alias nom='npm cache clean && rm -rf node_modules && mkdir node_modules && touch node_modules/.metadata_never_index && npm install' | |
alias bom='bower cache clean && rm -rf bower_components && mkdir bower_components && touch bower_components/.metadata_never_index && bower install' |
mwpastore
commented
Feb 19, 2016
alias nom='rm -rf node_modules && mkdir node_modules && touch node_modules/.metadata_never_index && a=`npm get progress` && npm set progress=false && npm install && npm set progress=$a'
alias nom-cache='npm cache clean && nom'
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment