Created
          April 12, 2016 15:32 
        
      - 
      
- 
        Save mashbourne/d311d9907c5f0d1490159b4fb815f2a3 to your computer and use it in GitHub Desktop. 
    Run npm test before git commit
  
        
  
    
      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
    
  
  
    
  | mkdir .git/hooks; touch .git/hooks/pre-commit; chmod +x .git/hooks/pre-commit; echo "PATH=$PATH:/usr/local/bin:/usr/local/sbin; npm test" > .git/hooks/pre-commit | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment