From bf9585b976224e45fa0b30e7b048715b2302103c Mon Sep 17 00:00:00 2001 From: niftylettuce Date: Mon, 7 Jan 2019 02:27:50 -0600 Subject: [PATCH] fix: added support for publishConfig for np scoped packages --- template/package | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/template/package b/template/package index ec35886..0d7f62d 100644 --- a/template/package +++ b/template/package @@ -76,6 +76,11 @@ "reporter": ["lcov", "html", "text"] }, <% } %> + <% if (public && name.startsWith('@')) { %> + "publishConfig": { + "access": "public" + }, + <% } %> "remarkConfig": { "plugins": ["preset-github"] },