Change your command to
"scripts": { "json-server": "json-server --watch db.json --port 5000" },
You miss a "-" before -port. It should be --port.