From 042d831c6cb1b55f3d62760bb8c95d8ee1c7094e Mon Sep 17 00:00:00 2001 From: Connor Clark Date: Thu, 27 Jun 2019 06:46:30 -0700 Subject: [PATCH] misc: yarn static-server (#9293) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 556bc7f4c9..8a7effe65e 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,8 @@ "mixed-content": "./lighthouse-cli/index.js --chrome-flags='--headless' --preset=mixed-content", "minify-latest-run": "./lighthouse-core/scripts/lantern/minify-trace.js ./latest-run/defaultPass.trace.json ./latest-run/defaultPass.trace.min.json && ./lighthouse-core/scripts/lantern/minify-devtoolslog.js ./latest-run/defaultPass.devtoolslog.json ./latest-run/defaultPass.devtoolslog.min.json", "compile-proto": "protoc --python_out=./ ./proto/lighthouse-result.proto && mv ./proto/*_pb2.py ./proto/scripts || (echo \"❌ Install protobuf ≥ 3.7.1 to compile the proto file.\" && false)", - "build-proto-roundtrip": "cd proto/scripts && PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION_VERSION=2 python json_roundtrip_via_proto.py" + "build-proto-roundtrip": "cd proto/scripts && PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION_VERSION=2 python json_roundtrip_via_proto.py", + "static-server": "node lighthouse-cli/test/fixtures/static-server.js" }, "devDependencies": { "@firebase/app-types": "0.3.1",