npm install
npm run main
You should see:
Error: bcrypt-package-issue package.json is not node-pre-gyp ready:
package.json must declare these properties:
binary
at Object.validate_config (/Users/factor/code/github/carlgieringer/bcrypt-package-issue/esbuild.js:11957:13)
-> /Users/factor/code/github/carlgieringer/bcrypt-package-issue/node_modules/@mapbox/node-pre-gyp/lib/util/versioning.js:220:11
...