From e61ca4fc0c7eb81888a475a2c018400abaae0062 Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Mon, 12 Aug 2024 14:05:30 +0200 Subject: [PATCH] Copy build and dist NP-76 --- DulcificumJS/package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/DulcificumJS/package.json b/DulcificumJS/package.json index 6088bb3..b3e6bc9 100644 --- a/DulcificumJS/package.json +++ b/DulcificumJS/package.json @@ -8,8 +8,9 @@ "lint:fix": "npm run lint -- --fix", "lint:tsc": "tsc", "build": "tsc -p tsconfig.json", - "copy:js": "mkdir -p dist/Dulcificum && cp ../build/Release/DulcificumJS/cpp/dulcificum_js.* src/Dulcificum/", - "prepublish": "npm run copy:js && npm run build" + "copy:build": "cp ../build/Release/DulcificumJS/cpp/dulcificum_js.* src/Dulcificum/", + "copy:dist": "mkdir -p dist/Dulcificum && cp src/Dulcificum/dulcificum_js.* dist/Dulcificum/", + "prepublish": "npm run copy:build && npm run build && npm run copy:dist" }, "repository": { "type": "git",