From b39040cac367a531ea8f41f9d86241404c36ecc5 Mon Sep 17 00:00:00 2001 From: William Lindvall Date: Thu, 23 Jul 2020 00:32:33 -0700 Subject: [PATCH] configure publishing to gpr --- .npmignore | 14 ++++++++++++++ .npmrc | 1 + package.json | 5 ++++- 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .npmignore create mode 100644 .npmrc diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..6bdb984 --- /dev/null +++ b/.npmignore @@ -0,0 +1,14 @@ +# Logs +logs +*.log + +# Runtime data +pids +*.pid +*.seed + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..cd32b6b --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +@shwilliam:registry=https://npm.pkg.github.com/ diff --git a/package.json b/package.json index 94cbb5c..08a98ba 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "gatsby-source-gh", + "name": "@shwilliam/gatsby-source-gh", "version": "0.1.0", "description": "Gatsby source plugin for GitHub repositories", "scripts": { @@ -12,6 +12,9 @@ "type": "git", "url": "git+https://github.com/shwilliam/gatsby-source-gh.git" }, + "publishConfig": { + "registry": "https://npm.pkg.github.com/shwilliam" + }, "keywords": [ "gatsby", "gatsby-source-plugin",