Skip to content

Commit

Permalink
fix: added support for publishConfig for np scoped packages
Browse files Browse the repository at this point in the history
  • Loading branch information
niftylettuce committed Jan 7, 2019
1 parent 207c806 commit bf9585b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions template/package
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@
"reporter": ["lcov", "html", "text"]
},
<% } %>
<% if (public && name.startsWith('@')) { %>
"publishConfig": {
"access": "public"
},
<% } %>
"remarkConfig": {
"plugins": ["preset-github"]
},
Expand Down

0 comments on commit bf9585b

Please sign in to comment.