From d980a23dd36b07e2e109242c85b60e59ac350511 Mon Sep 17 00:00:00 2001 From: samogot Date: Sat, 27 Jan 2018 16:32:23 +0200 Subject: [PATCH] Use --prefix instead of cd in npm scripts --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e29f5f2d..6ba1e519 100644 --- a/package.json +++ b/package.json @@ -42,9 +42,9 @@ }, "scripts": { - "build": "cd ./client && npm run build && cd ../core && npm run build && cd ../csseditor && npm run build", - "watch_client": "cd ./client && npm run watch", - "watch_core": "cd ./core && npm run watch", + "build": "npm run build --prefix client && npm run build --prefix core && npm run build --prefix csseditor", + "watch_client": "npm run watch --prefix client", + "watch_core": "npm run watch --prefix core", "test": "npm run build" } }