finalize NPM packages