diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..62c173b --- /dev/null +++ b/.npmignore @@ -0,0 +1,7 @@ +# This project uses `"files": ["dist"]` in package.json, so only files under +# dist/ (plus standard top-level files like README/LICENSE) are published. +# These patterns therefore only affect the contents of dist/, not the repo root. + +# Build artifacts that should not be published +*.tsbuildinfo +*.map diff --git a/package.json b/package.json index 19c0e71..6842df8 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,10 @@ ], "license": "Apache-2.0", "main": "dist/index.js", - "name": "typescript-type-guards", + "name": "@coderrob/typescript-type-guards", + "publishConfig": { + "access": "public" + }, "repository": { "type": "git", "url": "git+https://github.com/Coderrob/typescript-type-guards.git"