Skip to content

Commit bf614b0

Browse files
committed
✨ NEW: .npmrc file for github packages
1 parent 79804ee commit bf614b0

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@pettiboy:registry=https://npm.pkg.github.com

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
{
2-
"name": "react-ui-scrollspy",
2+
"name": "@pettiboy/react-ui-scrollspy",
33
"version": "2.0.0",
44
"description": "Simple, Easy To Use and Customisable ScrollSpy component for react with callback, typescript and throttle support among others",
55
"main": "dist/index.js",
66
"scripts": {
77
"build": "rollup -c",
88
"start": "rollup -c -w"
99
},
10+
"publishConfig": {
11+
"registry": "https://npm.pkg.github.com/"
12+
},
1013
"repository": {
1114
"type": "git",
12-
"url": "git+https://github.com/pettiboy/react-ui-scrollspy.git"
15+
"url": "git+https://github.com/pettiboy/react-ui-scrollspy.git",
16+
"directory": "react-ui-scrollspy"
1317
},
1418
"bugs": {
1519
"url": "https://github.com/pettiboy/react-ui-scrollspy/issues"

0 commit comments

Comments
 (0)