From f75fa0a880847419d6019e0ef447b3c5621b41b6 Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Wed, 7 Jun 2017 15:56:51 +0300 Subject: [PATCH] Use portable sub-directory install npm command --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6fc9727bf2..30c372bed8 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "whatwg-fetch": "^2.0.2" }, "scripts": { - "postinstall": "cd ./client; npm install; cd ..", + "postinstall": "npm --prefix client install", "build": "gulp build; webpack --config ./client/webpack/prod.config.js", "watch": "webpack --config ./client/webpack/dev.config.js & gulp watch", "start": "npm run watch",