From 454ef2291cce83ef3c0f2a466d25c9d552600dc6 Mon Sep 17 00:00:00 2001 From: Bret Little Date: Thu, 28 May 2020 09:36:30 -0400 Subject: [PATCH] docs: add homepage and repository links in each project package.json This is important because it improves the UX on npmjs.org with a link back to the git repository and lwc homepage. --- packages/@lwc/jest-preset/package.json | 9 +++++++++ packages/@lwc/jest-resolver/package.json | 9 +++++++++ packages/@lwc/jest-serializer/package.json | 9 +++++++++ packages/@lwc/jest-transformer/package.json | 9 +++++++++ 4 files changed, 36 insertions(+) diff --git a/packages/@lwc/jest-preset/package.json b/packages/@lwc/jest-preset/package.json index dc9c8270..f219d6c8 100644 --- a/packages/@lwc/jest-preset/package.json +++ b/packages/@lwc/jest-preset/package.json @@ -2,6 +2,15 @@ "name": "@lwc/jest-preset", "version": "7.0.0", "description": "Jest preset configuration and stubs to help test LWC", + "homepage": "https://lwc.dev/", + "repository": { + "type": "git", + "url": "https://github.com/salesforce/lwc-test.git", + "directory": "packages/@lwc/jest-preset" + }, + "bugs": { + "url": "https://github.com/salesforce/lwc-test/issues" + }, "license": "MIT", "keywords": [ "Jest", diff --git a/packages/@lwc/jest-resolver/package.json b/packages/@lwc/jest-resolver/package.json index b1ab818c..de5b3585 100644 --- a/packages/@lwc/jest-resolver/package.json +++ b/packages/@lwc/jest-resolver/package.json @@ -2,6 +2,15 @@ "name": "@lwc/jest-resolver", "version": "7.0.0", "description": "Jest resolver to resolve LWC specific packages", + "homepage": "https://lwc.dev/", + "repository": { + "type": "git", + "url": "https://github.com/salesforce/lwc-test.git", + "directory": "packages/@lwc/jest-resolver" + }, + "bugs": { + "url": "https://github.com/salesforce/lwc-test/issues" + }, "main": "src/index.js", "keywords": [ "Jest", diff --git a/packages/@lwc/jest-serializer/package.json b/packages/@lwc/jest-serializer/package.json index f3bec797..c361a942 100644 --- a/packages/@lwc/jest-serializer/package.json +++ b/packages/@lwc/jest-serializer/package.json @@ -2,6 +2,15 @@ "name": "@lwc/jest-serializer", "version": "7.0.0", "description": "Custom Jest snapshot serializer", + "homepage": "https://lwc.dev/", + "repository": { + "type": "git", + "url": "https://github.com/salesforce/lwc-test.git", + "directory": "packages/@lwc/jest-serializer" + }, + "bugs": { + "url": "https://github.com/salesforce/lwc-test/issues" + }, "main": "src/index.js", "license": "MIT", "keywords": [ diff --git a/packages/@lwc/jest-transformer/package.json b/packages/@lwc/jest-transformer/package.json index 3ea0e738..ea4701d0 100644 --- a/packages/@lwc/jest-transformer/package.json +++ b/packages/@lwc/jest-transformer/package.json @@ -2,6 +2,15 @@ "name": "@lwc/jest-transformer", "version": "7.0.0", "description": "Jest transformer for LWC and engine", + "homepage": "https://lwc.dev/", + "repository": { + "type": "git", + "url": "https://github.com/salesforce/lwc-test.git", + "directory": "packages/@lwc/jest-transformer" + }, + "bugs": { + "url": "https://github.com/salesforce/lwc-test/issues" + }, "license": "MIT", "main": "src/index.js", "keywords": [