diff --git a/node/package.json b/node/package.json index 0034cd9e..1eeece36 100644 --- a/node/package.json +++ b/node/package.json @@ -6,7 +6,7 @@ "types": "dist/index.d.ts", "scripts": { "tsc": "tsc -b", - "build": "cargo-cp-artifact --artifact cdylib vectordb-node index.node -- cargo build --message-format=json && tsc -b", + "build": "npm run tsc && cargo-cp-artifact --artifact cdylib vectordb-node index.node -- cargo build --message-format=json", "build-release": "npm run build -- --release", "test": "npm run tsc && mocha -recursive dist/test", "integration-test": "npm run tsc && mocha -recursive dist/integration_test",