From e9daae6f21c506fa323ef0cfc64bad1cb65b3a28 Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle <patrizio@bekerle.com> Date: Wed, 2 Dec 2020 07:47:21 +0100 Subject: [PATCH] Publish dbp-auth (#36) --- packages/auth/.npmignore | 5 +++++ packages/auth/package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 packages/auth/.npmignore diff --git a/packages/auth/.npmignore b/packages/auth/.npmignore new file mode 100644 index 00000000..bd8138ce --- /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 ed3a352e..698ab62d 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 ." } } -- GitLab