diff --git a/bindings/node.js/.npmignore b/bindings/node.js/.npmignore index 2d92dbf..de0f059 100644 --- a/bindings/node.js/.npmignore +++ b/bindings/node.js/.npmignore @@ -1,5 +1,6 @@ .vscode build +!dist/deps/blst/build node_modules .gitignore .npmignore diff --git a/bindings/node.js/Makefile b/bindings/node.js/Makefile index 0dc2dc7..da40fbe 100644 --- a/bindings/node.js/Makefile +++ b/bindings/node.js/Makefile @@ -25,7 +25,7 @@ bundle: clean cp ../../src/c_kzg_4844.c dist/deps/c-kzg cp ../../src/c_kzg_4844.h dist/deps/c-kzg -publish: +publish: bundle mv binding.gyp binding.gyp.bak mv binding.dist.gyp binding.gyp npm publish diff --git a/bindings/node.js/package.json b/bindings/node.js/package.json index 7103aa9..dc9c20e 100644 --- a/bindings/node.js/package.json +++ b/bindings/node.js/package.json @@ -1,6 +1,6 @@ { "name": "c-kzg", - "version": "0.0.2", + "version": "0.0.4", "description": "NodeJS bindings for C-KZG", "author": "Dan Coffman", "license": "MIT",