From bc6f4e199cded3134baa92f0e0977487feed0a82 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Thu, 21 Jul 2016 05:55:22 +0100 Subject: [PATCH] Tweak conventions and fix example --- package.json | 4 ++-- template/index.html | 1 + template/src/App.js | 30 +++++++++++++++++------------- template/src/index.js | 5 ++--- 4 files changed, 22 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index a09a6986..acf92fb9 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "url": "https://github.com/facebookincubator/create-react-app/issues" }, "scripts": { - "start": "node scripts/start.js", - "build": "node scripts/build.js", + "start": "node scripts/start.js --debug-template", + "build": "node scripts/build.js --debug-template", "create-react-app": "node global-cli/index.js --scripts-version \"$PWD/`npm pack`\"" }, "files": [ diff --git a/template/index.html b/template/index.html index 72f13b92..72e10e94 100644 --- a/template/index.html +++ b/template/index.html @@ -6,6 +6,7 @@ React App +