From 71e4be102b26715fe0045c08c87388053dd05762 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 5 Sep 2021 10:16:55 +0000 Subject: [PATCH] build: add .npmignore; reduce package size from 12.8kB to 3.9kB (#37) --- .npmignore | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..3558e98 --- /dev/null +++ b/.npmignore @@ -0,0 +1,27 @@ +# Development and CI/CD config +.github +.husky +.vscode + +# Coverage directory used by tools like istanbul +coverage + +# Optional eslint cache +.eslintcache + +# eslint config +.eslintrc.js + +# Prettier config +.prettierignore +.prettierrc + +# Documentation +CODE_OF_CONDUCT.md +CONTRIBUTING.md +SECURITY.md + +# Test files +src/**/*.test.js +test_files +test_resources \ No newline at end of file