Disable installation of NPM package that requires compilation (#3196)
* prevent peer dependencies not to be installed automatically (new behavior in npm > 7.0) * updated discord dependency * changed flag, because discord-rpc 3.2.0 changed peer deps to opt deps
This commit is contained in:
parent
5bedd8e195
commit
e8f19a419b
|
@ -29,7 +29,7 @@
|
|||
"win-7zip": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "cd src/app && npm install",
|
||||
"postinstall": "cd src/app && npm install --no-optional",
|
||||
"start": "npm run start:dev",
|
||||
"start:dev": "electron . --update-url=DISABLED --cache-directory=./src/web --disable-http-cache",
|
||||
"start:build": "npm run build:web && electron . --update-url=DISABLED --cache-directory=./build/latest",
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
"main": "main.js",
|
||||
"dependencies": {
|
||||
"@logtrine/logtrine": "latest",
|
||||
"discord-rpc": "^3.2.0",
|
||||
"fs-extra": "latest",
|
||||
"jszip": "latest",
|
||||
"discord-rpc": "^3.1.1"
|
||||
"jszip": "latest"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue