chore: adds run.js back

master
Avery Harnish 3 years ago
parent e050e6ff8d
commit acf6a96f88
  1. 6
      npm/binary.js
  2. 2
      npm/package.json
  3. 4
      npm/run.js

@ -34,6 +34,12 @@ const install = () => {
binary.install();
};
const run = () => {
const binary = getBinary();
binary.run();
}
module.exports = {
install,
run,
};

@ -26,6 +26,6 @@
},
"homepage": "https://github.com/rustwasm/wasm-pack#readme",
"dependencies": {
"binary-install": "^1.0.0"
"binary-install": "^1.0.1"
}
}

@ -0,0 +1,4 @@
#!/usr/bin/env node
const { run } = require("./binary");
run();
Loading…
Cancel
Save