From cdd92a6b2b7884dfcf09842d9aa0875299d2226e Mon Sep 17 00:00:00 2001 From: Carlos Lopez Jr Date: Tue, 30 May 2023 10:44:12 -0400 Subject: [PATCH] npm: use "files" array instead of .npmignore --- .npmignore | 9 --------- package.json | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 79fa8e0..0000000 --- a/.npmignore +++ /dev/null @@ -1,9 +0,0 @@ -.github/ -.idea/ -test/ -src/ -.editorconfig -.gitignore -.npmignore -CONTRIBUTING.md -coverage diff --git a/package.json b/package.json index 6125a66..434122e 100644 --- a/package.json +++ b/package.json @@ -76,6 +76,15 @@ "tap": "^16.3.4", "typescript": "^4.9.5" }, + "files": [ + "bin", + "data", + "features", + "exports", + "lib", + "types", + "utils" + ], "scripts": { "pretest": "eslint ./bin/**/*.js ./data/**/*.js ./lib/**/*.js ./test/**/*.js", "test": "c8 tap --no-coverage",