From ff5fd0b42ef998f7e7af82c59e01fbf12958c5c6 Mon Sep 17 00:00:00 2001 From: Eric Jinks Date: Tue, 23 Jan 2018 11:12:03 +1000 Subject: [PATCH] Update prepare-content npm script --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 0ee60aa..2a8a625 100644 --- a/package.json +++ b/package.json @@ -38,11 +38,11 @@ }, "scripts": { "start": "npm run watch:content & react-scripts start", - "build": "npm run prepare && react-scripts build && react-snapshot && npm run sw", + "build": "npm run prepare-content && react-scripts build && react-snapshot && npm run sw", "parse-content": "node ./functions/parse-content.js", "resize-images": "node ./functions/resize-images.js", - "prepare": "npm run parse-content & npm run resize-images", - "watch:content": "chokidar 'content/**/**' -c 'npm run prepare' --initial", + "prepare-content": "npm run parse-content & npm run resize-images", + "watch:content": "chokidar 'content/**/**' -c 'npm run prepare-content' --initial", "sw": "sw-precache --config='sw-precache-config.js'", "test": "standard | snazzy && react-scripts test --env=jsdom", "eject": "react-scripts eject"