add patch-package to auto apply patches

This commit is contained in:
lawl 2020-04-02 17:58:58 +02:00
parent f7e14cf749
commit 5206f9d00b

View file

@ -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 <me@johni0702.de>",
"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",