From b3f5477aafed6e7590e1a3368231e4c85b37e7c0 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Thu, 24 Jun 2021 15:45:31 -0400 Subject: [PATCH] Avoids accidentally running npm --- .npmrc | 1 + package.json | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..c42da845 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict = true diff --git a/package.json b/package.json index a7456682..61dd8a8b 100644 --- a/package.json +++ b/package.json @@ -110,5 +110,8 @@ "hooks": { "pre-commit": "yarn lint && yarn typecheck && yarn lint-staged" } + }, + "engines": { + "npm": "Use yarn!" } }