Only install electron deps when we're bundling/running electron

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/3622/head
Michael Telatynski 5 years ago
parent 8a50207189
commit 499b04c254
  1. 2
      package.json

@ -36,7 +36,7 @@
"build": "node scripts/babelcheck.js && npm run build:res && npm run build:bundle",
"build:dev": "node scripts/babelcheck.js && npm run build:res && npm run build:bundle:dev",
"dist": "scripts/package.sh",
"install:electron": "cd electron && npm i",
"install:electron": "install-app-deps",
"electron": "npm run install:electron && electron .",
"start:res": "node scripts/copy-res.js -w",
"start:js": "webpack-dev-server --output-filename=bundles/_dev_/[name].js --output-chunk-file=bundles/_dev_/[name].js -w --progress",

Loading…
Cancel
Save