From 425aae7f2f65bc393350e821cc544571dd769947 Mon Sep 17 00:00:00 2001 From: Austin Peterson Date: Sun, 11 Aug 2024 05:52:57 -0600 Subject: [PATCH] Update README.md to install locally in a project setting (#114) * Update README.md Encourage proper installation in a project setting * Remove "preferGlobal" from package.json --- README.md | 2 ++ package.json | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c332870..6bcaeb7 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,8 @@ Example here with npm scripts in a package.json } ``` +This example is used in a project setting (has a package.json). Should always install locally `npm install -D dotenv-cli` + ### Debugging You can add the `--debug` flag to output the `.env` files that would be processed and exit. diff --git a/package.json b/package.json index 3ad9bff..69a5019 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,6 @@ }, "license": "MIT", "main": "index.js", - "preferGlobal": true, "repository": "entropitor/dotenv-cli", "scripts": { "lint": "standard"