Skip to content

Commit 675276d

Browse files
Update package.json and .npmrc to prepate for npm publish module package to github registry.
1 parent 36002d9 commit 675276d

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
engine-strict=true
2+
@communitiesuk:registry=https://npm.pkg.github.com
3+
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
2-
"name": "office-for-local-gov-svelte-component-library",
3-
"version": "0.0.1",
2+
"name": "@communitiesuk/svelte-component-library",
3+
"version": "0.1.0",
4+
"repository":"https://github.com/communitiesuk/oflog_svelte_component_library",
5+
"publishConfig": {
6+
"registry": "https://npm.pkg.github.com"},
7+
"author": "Ibrahim-Haizel",
8+
"description": "A collection of reusable Svelte components",
49
"scripts": {
510
"dev": "vite dev",
611
"build": "vite build && npm run package",

0 commit comments

Comments
 (0)