diff --git a/gh-badges/package.json b/gh-badges/package.json
index 645f1b18013547b1c542e55a2ceb7b6747da88b2..59392dd0dc48f5f26372c1552b4ceb18a5808b28 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",