Merge pull request #73 from lawl/master

add patch-package to auto apply patches

followup to f7e14cf
This commit is contained in:
Jonas Herzig 2020-04-02 18:07:13 +02:00 committed by GitHub
commit 8f97d6326c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,8 @@
"scripts": { "scripts": {
"build": "webpack && [ -f dist/config.local.js ] || cp app/config.local.js dist/", "build": "webpack && [ -f dist/config.local.js ] || cp app/config.local.js dist/",
"prepare": "rm -rf dist && npm run build", "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>", "author": "Jonas Herzig <me@johni0702.de>",
"license": "ISC", "license": "ISC",
@ -43,6 +44,7 @@
"mumble-client-codecs-browser": "^1.2.0", "mumble-client-codecs-browser": "^1.2.0",
"mumble-client-websocket": "^1.0.0", "mumble-client-websocket": "^1.0.0",
"node-sass": "^4.13.1", "node-sass": "^4.13.1",
"patch-package": "^6.2.1",
"raw-loader": "^4.0.0", "raw-loader": "^4.0.0",
"regexp-replace-loader": "1.0.1", "regexp-replace-loader": "1.0.1",
"sass-loader": "^8.0.2", "sass-loader": "^8.0.2",