From 234a7d399ea532bd3a3ce66fc7ac099b671f60e3 Mon Sep 17 00:00:00 2001 From: SoraSuegami Date: Fri, 20 Oct 2023 21:18:13 +0900 Subject: [PATCH] Add npx to cargo-cp-artifact. --- packages/apis/package.json | 2 +- packages/compiler/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/apis/package.json b/packages/apis/package.json index 697b17d..17c7495 100644 --- a/packages/apis/package.json +++ b/packages/apis/package.json @@ -14,7 +14,7 @@ "url": "git+https://github.com/zkemail/zk-regex.git" }, "scripts": { - "build": "cargo-cp-artifact -nc index.node -- cargo build --message-format=json-render-diagnostics", + "build": "npx cargo-cp-artifact -nc index.node -- cargo build --message-format=json-render-diagnostics", "build-debug": "npm run build --", "build-release": "npm run build -- --release", "install": "node-pre-gyp install --fallback-to-build=false || npm run build-release", diff --git a/packages/compiler/package.json b/packages/compiler/package.json index e4e7bb6..69b705b 100644 --- a/packages/compiler/package.json +++ b/packages/compiler/package.json @@ -14,7 +14,7 @@ "url": "git+https://github.com/zkemail/zk-regex.git" }, "scripts": { - "build": "cargo-cp-artifact -nc index.node -- cargo build --message-format=json-render-diagnostics", + "build": "npx cargo-cp-artifact -nc index.node -- cargo build --message-format=json-render-diagnostics", "build-debug": "npm run build --", "build-release": "npm run build -- --release", "install": "node-pre-gyp install --fallback-to-build=false || npm run build-release",