File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed
Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -41,18 +41,20 @@ RUN npm ci --no-optional
4141
4242# Removes unnecessary files/folders in node modules
4343# Files
44- RUN find "$(pwd)/node_modules" -type f -name "*.ts" -exec rm -f {} \;
45- RUN find "$(pwd)/node_modules" -type f -name "*.md" -exec rm -f {} \;
46- RUN find "$(pwd)/node_modules" -type f -name "*.swp" -exec rm -f {} \;
47- RUN find "$(pwd)/node_modules" -type f -name "LICENSE" -exec rm -f {} \;
48- RUN find "$(pwd)/node_modules" -type f -name "AUTHORS" -exec rm -f {} \;
49- RUN find "$(pwd)/node_modules" -type f -name "CONTRIBUTORS" -exec rm -f {} \;
50- RUN find "$(pwd)/node_modules" -type f -name "CHANGES" -exec rm -f {} \;
51- RUN find "$(pwd)/node_modules" -type f -name ".prettierrc*" -exec rm -f {} \;
52- RUN find "$(pwd)/node_modules" -type f -name ".npm*" -exec rm -f {} \;
53- RUN find "$(pwd)/node_modules" -type f -name ".travis.yml" -exec rm -f {} \;
54- RUN find "$(pwd)/node_modules" -type f -name "appveyor.yml" -exec rm -f {} \;
55- RUN find "$(pwd)/node_modules" -type f -name "*.coveralls.yml" -exec rm -f {} \;
44+ RUN find "$(pwd)/node_modules" -type f \( \
45+ -name "*.ts" -o \
46+ -name "*.md" -o \
47+ -name "*.swp" -o \
48+ -name ".npm*" -o \
49+ -name "LICENSE" -o \
50+ -name "AUTHORS" -o \
51+ -name "CONTRIBUTORS" -o \
52+ -name "CHANGES" -o \
53+ -name ".prettierrc*" -o \
54+ -name ".travis.yml" -o \
55+ -name "appveyor.yml" -o \
56+ -name ".coveralls.yml" \
57+ \) -exec rm -f {} \;
5658
5759# Folders
5860RUN find "$(pwd)/node_modules" -type d -name "docs?" -prune -exec rm -rf {} +;
You can’t perform that action at this time.
0 commit comments