diff --git a/package.json b/package.json index 2512edbc17..512007d912 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "yo-yoify": "^3.7.3" }, "dependencies": { - "http-server": "0.9.0", + "http-server-legacy": "latest", "remix-plugin": "0.0.2-alpha.3", "remixd": "0.1.8-alpha.6" }, @@ -182,8 +182,8 @@ "remixd": "remixd -s ./contracts --remix-ide http://127.0.0.1:8080", "selenium": "execr --silent selenium-standalone start", "selenium-install": "selenium-standalone install", - "serve": "http-server .", - "serve_debugger": "execr --silent http-server src/app/debugger/remix-debugger", + "serve": "npx http-server-legacy .", + "serve_debugger": "npx http-server-legacy src/app/debugger/remix-debugger", "sourcemap": "exorcist --root ../ build/app.js.map > build/app.js", "start": "npm-run-all -lpr serve watch onchange remixd", "test": "csslint && standard && node test/index.js",