ngneat / falso

All the Fake Data for All Your Real Needs 🙂

Home Page:https://ngneat.github.io/falso/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add npm and node version info to package json

czlowiek488 opened this issue · comments

I don't know what versions of node or npm you are using.
It is a bit tricky to find out exact versions on my own.
I think it may be a good idea to add engines field to package.json file like in example below.

  "engines": {
    "npm": ">2.0.0",
    "node": ">=0.12.0"
  },

It may not been seen so important but in certain circumstances (unknown to me) rebase of package-lock with 2 different versions of npm spawns error.
I've spent many hours discovering that the errror was caused by npm versions difference.

v16.15.1
8.11.0