diff --git a/packages/auth/.npmignore b/packages/auth/.npmignore
new file mode 100644
index 0000000000000000000000000000000000000000..bd8138ceb1b9d6026edec0d20ac4be9940d5cf73
--- /dev/null
+++ b/packages/auth/.npmignore
@@ -0,0 +1,5 @@
+node_modules
+.idea
+npm-debug.log
+package-lock.json
+index.html
diff --git a/packages/auth/package.json b/packages/auth/package.json
index ed3a352ee50c55e19015536e875c876c18e3b4c6..698ab62d61fbcbb898633f42812dbe4290d83b37 100644
--- a/packages/auth/package.json
+++ b/packages/auth/package.json
@@ -4,7 +4,6 @@
   "version": "0.1.0",
   "main": "src/index.js",
   "license": "LGPL-2.1-or-later",
-  "private": true,
   "devDependencies": {
     "@rollup/plugin-commonjs": "^16.0.0",
     "@rollup/plugin-json": "^4.1.0",
@@ -48,6 +47,7 @@
     "watch-local": "rollup -c --watch",
     "watch-dev": "rollup -c --watch --environment BUILD:development",
     "test": "yarn run build-test && karma start --singleRun",
+    "publish": "can-npm-publish --verbose 2>&1 && npm run build && npm publish --access public 2>&1 || true",
     "lint": "eslint ."
   }
 }