From 5206f9d00b7bf185aca000ac30aa6acc7cb05ebd Mon Sep 17 00:00:00 2001 From: lawl Date: Thu, 2 Apr 2020 17:58:58 +0200 Subject: [PATCH] add patch-package to auto apply patches --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9ff0d89..ae86256 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "scripts": { "build": "webpack && [ -f dist/config.local.js ] || cp app/config.local.js dist/", "prepare": "rm -rf dist && npm run build", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "postinstall": "patch-package" }, "author": "Jonas Herzig ", "license": "ISC", @@ -43,6 +44,7 @@ "mumble-client-codecs-browser": "^1.2.0", "mumble-client-websocket": "^1.0.0", "node-sass": "^4.13.1", + "patch-package": "^6.2.1", "raw-loader": "^4.0.0", "regexp-replace-loader": "1.0.1", "sass-loader": "^8.0.2",