From b5b8055cc00756f94bf71deb45f288738520ee3c Mon Sep 17 00:00:00 2001 From: Daniel Arthur Gallagher <8526031+DanArthurGallagher@users.noreply.github.com> Date: Thu, 17 Oct 2019 23:26:14 +0200 Subject: [PATCH] docs: add homepage link to @babel/runtime package.json (#10418) * docs: add homepage link Adds a homepage link to populate npmjs.com. Update the repository property syntax. * Update the repository link Point to the root repo plus a reference to the subdirectory. * style: drop HTML extension --- packages/babel-runtime/package.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/babel-runtime/package.json b/packages/babel-runtime/package.json index 84f3d9127a..afdb001717 100644 --- a/packages/babel-runtime/package.json +++ b/packages/babel-runtime/package.json @@ -6,7 +6,12 @@ "publishConfig": { "access": "public" }, - "repository": "https://github.com/babel/babel/tree/master/packages/babel-runtime", + "repository": { + "type" : "git", + "url" : "https://github.com/babel/babel.git", + "directory": "packages/babel-runtime" + }, + "homepage": "https://babeljs.io/docs/en/next/babel-runtime", "author": "Sebastian McKenzie ", "dependencies": { "regenerator-runtime": "^0.13.2"