From 18a65fc69ca639ef634d977890fb44d8917cb5e1 Mon Sep 17 00:00:00 2001 From: Felix Becker <felix.b@outlook.com> Date: Mon, 21 Jan 2019 21:19:03 +0100 Subject: [PATCH] Add directory field to package.json (#2823) https://github.com/npm/rfcs/blob/latest/accepted/0010-monorepo-subdirectory-declaration.md This helps tools find this package in the repository. --- gh-badges/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gh-badges/package.json b/gh-badges/package.json index 645f1b1801..59392dd0dc 100644 --- a/gh-badges/package.json +++ b/gh-badges/package.json @@ -12,7 +12,8 @@ "main": "lib/index.js", "repository": { "type": "git", - "url": "git+https://github.com/badges/shields.git" + "url": "git+https://github.com/badges/shields.git", + "directory": "gh-badges" }, "author": "Thaddée Tyl <thaddee.tyl@gmail.com>", "license": "CC0-1.0", -- GitLab