From 246578e6b8be627455a4f1c753d80f34fc3136c4 Mon Sep 17 00:00:00 2001 From: Kim T Date: Sat, 6 Jul 2024 21:38:35 -0700 Subject: [PATCH] Ensure plugin data is copied into plugins directory --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index c4dba66..d068d1f 100644 --- a/package.json +++ b/package.json @@ -10,13 +10,13 @@ "build" ], "scripts": { - "copy": "cp -r ./src/plugins ./out", + "copy": "mkdir ./out && cp -rf ./src/plugins ./out", "start": "node ./build/main.js", - "clean": "rimraf coverage build tmp", + "clean": "rimraf coverage build tmp out", "prebuild": "npm run lint", - "build": "tsc -p tsconfig.json && npm run copy", + "build": "npm run clean && tsc -p tsconfig.json && npm run copy", "dev": "tsx ./src/main.ts", - "build:release": "npm run clean && tsc -p tsconfig.release.json", + "build:release": "npm run clean && tsc -p tsconfig.release.json && npm run copy", "lint": "eslint ./**/*.ts", "test": "vitest run ./tests", "format": "prettier . --write",