Sanitise scripts

* Remove install:electron - it ran install-app-deps which makes sure
   native deps are installed but the native deps we use don't work
   with electron-builder anyway (they don't use binding.gyp) so this
   does absolutely nothing at all.
 * Rename build:electron to build (there is only one thing to build
   now).
This commit is contained in:
David Baker 2019-12-10 15:01:04 +00:00
parent bc73f0ba7f
commit cb41f2d66d

View File

@ -16,9 +16,8 @@
"fetch": "yarn run mkdirs && node scripts/fetch-package.js",
"check": "node scripts/check-webapp.js",
"start": "yarn run check && yarn install:electron && electron .",
"install:electron": "electron-builder install-app-deps",
"lint": "eslint src/",
"build:electron": "yarn run check && electron-builder",
"build": "yarn run check && electron-builder",
"clean": "rimraf webapp dist packages deploys"
},
"dependencies": {