Created
December 15, 2017 15:38
Revisions
-
cwonrails created this gist
Dec 15, 2017 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,34 @@ #!/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 {} \;