diff --git a/.npmignore b/.npmignore index 4f9a830..8456796 100644 --- a/.npmignore +++ b/.npmignore @@ -1,3 +1,16 @@ -__tests__/ -__stories__/ +# Ignore everything... +/* + +# Except what needs to be published +!/src +!/lib +!register.js +!package.json +!CHANGELOG.md +!LICENSE +!README.md + +# Unless it's tests +**/__tests__/ +**/__stories__/ *.test.{js,ts,tsx} diff --git a/package.json b/package.json index f8d76f5..e08f4fa 100644 --- a/package.json +++ b/package.json @@ -7,15 +7,6 @@ "author": "Jonas Kello", "license": "MIT", "repository": "https://github.com/dividab/tsconfig-paths", - "files": [ - "/src", - "/lib", - "register.js", - "package.json", - "CHANGELOG.md", - "LICENSE", - "README.md" - ], "engines": { "node": ">=6" },