Created
December 15, 2017 15:38
-
-
Save cwonrails/b78b5e4ba975b298796b71bce1e70e3e to your computer and use it in GitHub Desktop.
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 bash | |
find node_modules \( -name '.*ignore' -o \ | |
-name '.documentup.json' -o \ | |
-name '.editorconfig' -o \ | |
-name '.eslintrc' -o \ | |
-name '.eslintrc.*' -o \ | |
-name '.flowconfig' -o \ | |
-name '.gitattributes' -o \ | |
-name '.idea' -o \ | |
-name '.jshintrc' -o \ | |
-name '.nyc_output' -o \ | |
-name '.tern-project' -o \ | |
-name '.travis.yml' -o \ | |
-name '.vscode' -o \ | |
-name '.yarn-metadata.json' -o \ | |
-name 'Gruntfile.js' -o \ | |
-name 'Gulpfile.js' -o \ | |
-name 'Makefile' -o \ | |
-name 'appveyor.yml' -o \ | |
-name 'assets' -o \ | |
-name 'circle.yml' -o \ | |
-name 'codeship*.yml' -o \ | |
-name 'coverage' -o \ | |
-name 'doc' -o \ | |
-name 'docs' -o \ | |
-name 'example' -o \ | |
-name 'examples' -o \ | |
-name 'images' -o \ | |
-name 'powered-test' -o \ | |
-name 'tests' -o \ | |
-name '__tests__' -o \ | |
-name 'website' -o \ | |
-name 'wercker.yml' -o \) -exec rm -rf {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment