From 1ac17e313bfdcec5307750210f454b433372ea14 Mon Sep 17 00:00:00 2001 From: Gido Manders Date: Tue, 30 May 2023 15:24:19 +0200 Subject: [PATCH] improvement: added engines to package.json Node asks to add engines property to package.json before releasing a new version. --- package-lock.json | 3 +++ package.json | 3 +++ 2 files changed, 6 insertions(+) diff --git a/package-lock.json b/package-lock.json index 5b49fcb1..a9c99bc3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -102,6 +102,9 @@ "typescript": "4.9.5", "webpack": "5.84.1" }, + "engines": { + "node": ">=14" + }, "peerDependencies": { "@42.nl/final-form-field-validation": "^1.0.0", "@42.nl/jarb-final-form": "^3.0.0", diff --git a/package.json b/package.json index ad7cedd4..7079bb59 100644 --- a/package.json +++ b/package.json @@ -278,5 +278,8 @@ "{src,tests}/**/*.{js,jsx,json,scss,ts,tsx}": [ "prettier --write" ] + }, + "engines": { + "node": ">=14" } }