From 21e9baabd5801a51e3b1727cefaea9f02e5bb8b5 Mon Sep 17 00:00:00 2001 From: Gregor MacLennan Date: Wed, 26 Jul 2023 12:35:51 +0100 Subject: [PATCH] fix build scripts --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 15338a95..b7d6b1f2 100644 --- a/package.json +++ b/package.json @@ -7,10 +7,10 @@ "scripts": { "example": "node examples/schema_test.js", "build": "npm-run-all build:clean build:generate build:tsc build:copy build:doc", - "build:clean": "rm -rf types dist docs intermediate generated", + "build:clean": "rimraf types dist docs intermediate generated", "build:generate": "node scripts/generate.js", "build:tsc": "tsc", - "build:copy": "cp -r intermediate/{generated,src}/* dist/", + "build:copy": "cpy \"intermediate/generated/**\" \"intermediate/src/**\" dist/", "build:doc": "typedoc --plugin typedoc-plugin-markdown", "prepublishOnly": "npm run build", "test": "tape 'test/**/*.js'"