From fc14f3910fd4d51c69d77afdf1732c58d7e797e3 Mon Sep 17 00:00:00 2001 From: Qrac Date: Sun, 17 Sep 2023 22:05:49 +0900 Subject: [PATCH] Fix create for windows #120 --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2962e3c..9d17e57 100644 --- a/package.json +++ b/package.json @@ -112,8 +112,8 @@ "play:create-run": "npx create-minista ./playground/_create/dist --tag v3", "play:create-run0": "npx create-minista ./playground/_create/dist --tag v3", "play:create-run1": "npx create-minista ./playground/_create/dist --tag v3 --template minimal-js", - "play:create-init": "rimraf ./playground/_create/dist && mkdir ./playground/_create/dist", - "play:create-dummy": "mkdir ./playground/_create/dist/dummy", + "play:create-init": "rimraf ./playground/_create/dist && mkdirp ./playground/_create/dist", + "play:create-dummy": "mkdirp ./playground/_create/dist/dummy", "play:v": "npx minista -v && npx create-minista -v", "play:h": "npx minista -h && npx create-minista -h", "ms": "tsx ./scripts/mock-server.ts start", @@ -156,6 +156,7 @@ "express": "^4.18.2", "fast-glob": "^3.3.1", "fs-extra": "^11.1.1", + "mkdirp": "^3.0.1", "msw": "^1.2.3", "picocolors": "^1.0.0", "prompts": "^2.4.2",