diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 545eea2d..00000000 --- a/.npmignore +++ /dev/null @@ -1,27 +0,0 @@ -# Common files -.editorconfig -.gitattributes -.gitignore -tsconfig.json -.eslintrc.json - -# Log & Cache files -.eslintcache - -# Build files -out/benchmark -out/tests -out/**/*.js.map -out/**/*.spec.{d.ts,js} - -# Editor directories -.vscode - -# Other directories -.tmp -.benchmark -.github -fixtures -src -node_modules -typings diff --git a/package.json b/package.json index aa216634..9db69770 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,12 @@ }, "main": "out/index.js", "typings": "out/index.d.ts", + "files": [ + "out", + "!out/{benchmark,tests}", + "!out/**/*.map", + "!out/**/*.spec.*" + ], "keywords": [ "glob", "patterns",