create the build directory node-gyp configure build the addon.node node-gyp build based on https://nodejs.org/api/addons.html