From 2027b2876565953a0363909262eb6cb87a15450c Mon Sep 17 00:00:00 2001 From: Dan Head Date: Mon, 26 Feb 2018 18:13:36 +0000 Subject: [PATCH] Don't use npm-run-all in production build --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 61e0031..6f4fdae 100644 --- a/package.json +++ b/package.json @@ -3,13 +3,14 @@ "version": "0.1.0", "description": "Wordpress theme for windycoys.com", "scripts": { - "build": "run-p css:compile js:compile", + "build": "npm run css:compile && npm run js:compile", "css": "run-p css:*", "css:compile": "postcss -o theme/style.css css/index.css", "css:lint": "stylelint --config .stylelintrc \"css/**/*.css\"", - "js": "run-p js:*", + "js": "run-s js:*", "js:compile": "rollup --config rollup.config.js", "js:lint": "eslint js/", + "lint": "npm run css:lint && npm run js:lint", "serve": "browser-sync start --config .browser-sync.js", "start": "run-p watch serve", "watch": "npm-watch"