From b85393a5d532059bbbb148c0cb0e4b32c0738ce5 Mon Sep 17 00:00:00 2001 From: Carl Vitullo Date: Thu, 2 Feb 2017 14:44:38 -0500 Subject: [PATCH] Use npm start instead of npm run dev --- Procfile | 4 ++-- package.json | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Procfile b/Procfile index a25f475..820cd40 100755 --- a/Procfile +++ b/Procfile @@ -1,2 +1,2 @@ -react: npm start -electron: node src/electron-wait-react \ No newline at end of file +react: npm run react-start +electron: npm run electron-start diff --git a/package.json b/package.json index 2b74ba8..8b00398 100755 --- a/package.json +++ b/package.json @@ -14,11 +14,12 @@ "homepage": "./", "main": "src/electron-starter.js", "scripts": { - "start": "react-scripts start", + "start": "nf start -p 3000", "build": "react-scripts build", "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject", "electron": "electron .", - "dev" : "nf start -p 3000" + "electron-start": "node src/electron-wait-react", + "react-start": "react-scripts start" } }