From faecf171e0499dc517ee41101d83d10b691d27d0 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 10 Dec 2019 14:38:09 +0000 Subject: [PATCH] Use portable mkdirp Works on both *nix / Windows --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 80078b1..0bd054f 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "license": "Apache-2.0", "files": [], "scripts": { - "mkdirs": "mkdir -p packages && mkdir -p deploys", + "mkdirs": "mkdirp packages deploys", "fetch": "yarn run mkdirs && scripts/fetch-package.js", "check": "scripts/check-webapp.js", "start": "yarn run check && yarn install:electron && electron .", @@ -38,6 +38,7 @@ "eslint-plugin-babel": "^4.1.2", "follow-redirects": "^1.9.0", "matrix-js-sdk": "^2.4.6-rc.1", + "mkdirp": "^0.5.1", "rimraf": "^3.0.0", "tar": "^5.0.5" },