diff --git a/.npmignore b/.npmignore deleted file mode 100644 index b69beb1..0000000 --- a/.npmignore +++ /dev/null @@ -1,8 +0,0 @@ -.* -*.test.js -coverage -test -token.txt - -# exclude npm pack packages -*.tgz diff --git a/package.json b/package.json index a8085c7..b3ea6b9 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,10 @@ "standard-version": "^4.4.0", "xo": "^0.24.0" }, + "files": [ + "*.js", + "!*.test.js" + ], "xo": { "space": true, "semicolon": false,