summarylogtreecommitdiffstats
path: root/fix-package-json.patch
blob: a7e61c18207af15bf588402825e0174f8a9d08fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
From f6b62008495253f0c68ea1a03eb6815e3bd60e97 Mon Sep 17 00:00:00 2001
From: BrLi <brli@chakralinux.org>
Date: Mon, 7 Dec 2020 15:58:13 +0800
Subject: [PATCH] fix package.json

---
 package.json | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/package.json b/package.json
index 9c2d20c..4ad8321 100644
--- a/package.json
+++ b/package.json
@@ -1,9 +1,6 @@
 {
   "name": "Pencil",
   "devDependencies": {
-    "electron": "10.1.5",
-    "electron-builder": "20.28.4",
-    "electron-rebuild": "^1.8.5",
     "rimraf": "^2.5.4"
   },
   "build": {
@@ -55,9 +52,6 @@
       "perMachine": true,
       "allowToChangeInstallationDirectory": true
     },
-    "electronDownload": {
-      "cache": ".electron-cache"
-    },
     "fileAssociations": {
       "ext": [
         "ep",
@@ -68,8 +62,6 @@
     }
   },
   "scripts": {
-    "postinstall": "install-app-deps",
-    "install-app-deps": "node ./node_modules/electron-builder/out/install-app-deps.js",
     "start": "./node_modules/.bin/electron ./app",
     "start:dev": "./node_modules/.bin/electron ./app --enable-dev --enable-transparent-visuals",
     "start:mac": "./node_modules/.bin/electron ./app --enable-dev",
-- 
2.29.2