Skip to content

Commit fda1609

Browse files
authored
Merge pull request #47 from SourceCodeOER/jy95-patch-1
chore(Dockerfile) : remove useless files/folders
2 parents 23c789b + 6d4a2de commit fda1609

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,23 @@ RUN find "$(pwd)/node_modules" -type f \( \
4545
-name "*.ts" -o \
4646
-name "*.md" -o \
4747
-name "*.swp" -o \
48+
-name "*.tgz" -o \
4849
-name ".npm*" -o \
4950
-name "LICENSE" -o \
5051
-name "AUTHORS" -o \
5152
-name "CONTRIBUTORS" -o \
5253
-name "CHANGES" -o \
54+
-name ".DS_Store" -o \
55+
-name ".babelrc" -o \
56+
-name "jest.config.js" -o \
57+
-name "tslint.json" -o \
58+
-name "eslint" -o \
59+
-name ".eslintrc.js" -o \
60+
-name ".eslintrc.json" -o \
61+
-name ".eslintrc.yml" -o \
5362
-name ".prettierrc*" -o \
5463
-name ".travis.yml" -o \
64+
-name ".gitlab-ci.yml" -o \
5565
-name "appveyor.yml" -o \
5666
-name ".coveralls.yml" \
5767
\) -exec rm -f {} \;
@@ -63,6 +73,9 @@ RUN find "$(pwd)/node_modules" -type d \( \
6373
-name "tests" -o \
6474
-name "test" -o \
6575
-name "__tests__" -o \
76+
-name "example" -o \
77+
-name "examples" -o \
78+
-name ".nyc_output" -o \
6679
-name ".idea" -o \
6780
-name ".vscode" -o \
6881
-name "coverage" -o \

0 commit comments

Comments
 (0)