Skip to content

Commit

Permalink
npm publish to github packages - also need to have global .npmrc set …
Browse files Browse the repository at this point in the history
…up with PAT (with repo and read/write package accesses)
  • Loading branch information
hchiam committed Jul 19, 2020
1 parent 52c127f commit 86f3cab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@hchiam:registry=https://npm.pkg.github.com/
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "2dnote",
"name": "@hchiam/2dnote",
"version": "1.8.2",
"main": "_2DNote.js",
"unpkg": "_2DNote.min.js",
Expand All @@ -11,6 +11,9 @@
],
"license": "MIT",
"publishConfig": {
"registry": "https://npm.pkg.github.com/hchiam"
"registry": "https://npm.pkg.github.com"
},
"repository": {
"url": "git://github.com/hchiam/_2DNote.git"
}
}

0 comments on commit 86f3cab

Please sign in to comment.