diff --git a/package.json b/package.json index 4f45fdef..b9bdf445 100644 --- a/package.json +++ b/package.json @@ -115,11 +115,13 @@ "build-beta": "grunt --beta && cp dist/index.html ../keeweb-beta/index.html && cd ../keeweb-beta && git add index.html && git commit -a -m 'beta' && git push origin master", "electron": "cross-env KEEWEB_IS_PORTABLE=0 ELECTRON_DISABLE_SECURITY_WARNINGS=1 KEEWEB_EMULATE_HARDWARE_ENCRYPTION=persistent KEEWEB_HTML_PATH=http://localhost:8085 electron desktop --no-sandbox", "dev": "grunt dev", + "dev-legacy": "cross-env NODE_OPTIONS='--openssl-legacy-provider' grunt dev", "dev-desktop-macos": "grunt dev-desktop-darwin --skip-sign", "dev-desktop-macos-signed": "grunt dev-desktop-darwin-signed", "dev-desktop-windows": "grunt dev-desktop-win32 --skip-sign", "dev-desktop-linux": "grunt dev-desktop-linux --skip-sign", - "babel-helpers": "babel-external-helpers -l 'slicedToArray,toConsumableArray,defineProperty,typeof' -t global > app/lib/babel-helpers.js" + "babel-helpers": "babel-external-helpers -l 'slicedToArray,toConsumableArray,defineProperty,typeof' -t global > app/lib/babel-helpers.js", + "set-legacy": "export NODE_OPTIONS=--openssl-legacy-provider" }, "author": { "name": "Antelle", @@ -141,4 +143,4 @@ "last 1 ChromeAndroid version", "Electron > 6.0.1" ] -} +} \ No newline at end of file