From b0df2fcf4b42dfc26922b79df6ed6f4a52e1e8a6 Mon Sep 17 00:00:00 2001 From: Nathan Hunzaker Date: Tue, 2 May 2017 20:09:42 -0400 Subject: [PATCH] Add copy command after build for interup with surge.sh --- fixtures/dom/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fixtures/dom/package.json b/fixtures/dom/package.json index 214de66fb73a6..d27936a4da275 100644 --- a/fixtures/dom/package.json +++ b/fixtures/dom/package.json @@ -16,7 +16,7 @@ "scripts": { "start": "react-scripts start", "prestart": "cp ../../build/dist/{react,react-dom}.development.js public/", - "build": "react-scripts build", + "build": "react-scripts build && cp build/index.html build/200.html", "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject" }