From 3978a48a74cc93e7d8744df390efc38bfebbe2e5 Mon Sep 17 00:00:00 2001 From: Steve Springett Date: Tue, 31 Dec 2019 14:27:56 -0600 Subject: [PATCH] Updating publishing settings --- .npmignore | 26 ++++++++++++++++++++++++++ package.json | 5 ++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 000000000..bbb704027 --- /dev/null +++ b/.npmignore @@ -0,0 +1,26 @@ +.DS_Store +node_modules +# Exclude /dist. We want this included in the package when it's published +# /dist +/coverage + +/tests/e2e/reports/ +selenium-debug.log + +# local env files +.env.local +.env.*.local + +# Log files +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Editor directories and files +.idea +.vscode +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw* diff --git a/package.json b/package.json index cdf43594a..7b0f7aa24 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,10 @@ "license": "Apache-2.0", "repository": { "type": "git", - "url": "git@github.com:DependencyTrack/front-end.git" + "url": "git@github.com:DependencyTrack/frontend.git" + }, + "publishConfig": { + "registry": "https://npm.pkg.github.com/" }, "scripts": { "start": "npm run serve",