diff --git a/package.json b/package.json index 14f7d3fb0..a2a21e78a 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ }, "repository": "Codeception/codeceptjs", "scripts": { - "json-server": "./node_modules/json-server/bin/index.js test/data/rest/db.json -p 8010 --watch -m test/data/rest/headers.js", + "json-server": "json-server test/data/rest/db.json --host 0.0.0.0 -p 8010 --watch -m test/data/rest/headers.js", "json-server:graphql": "node test/data/graphql/index.js", "lint": "eslint bin/ examples/ lib/ test/ translations/ runok.js", "lint-fix": "eslint bin/ examples/ lib/ test/ translations/ runok.js --fix", @@ -146,7 +146,7 @@ "inquirer-test": "2.0.1", "jsdoc": "4.0.4", "jsdoc-typeof-plugin": "1.0.0", - "json-server": "0.10.1", + "json-server": "0.17.4", "playwright": "1.48.2", "prettier": "^3.3.2", "puppeteer": "23.6.0",