From cb41f2d66d8581336696872fb7f9e8d48e7fe7d1 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 10 Dec 2019 15:01:04 +0000 Subject: [PATCH] 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). --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 3baf2d1..e52f055 100644 --- a/package.json +++ b/package.json @@ -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": {