|
11 | 11 | "scripts": {
|
12 | 12 | "run-audit": "yarn audit-ci --high -a 1094574 1096494",
|
13 | 13 | "start": "node scripts/start.js",
|
14 |
| - "build": "cross-env NODE_OPTIONS=--max_old_space_size=8192 && yarn clean-builds && node scripts/build.js", |
| 14 | + "build": "cross-env NODE_OPTIONS=\"--max_old_space_size=8192 --openssl-legacy-provider\" && yarn clean-builds && node scripts/build.js", |
15 | 15 | "test": "node scripts/test.js --watchAll=false",
|
16 | 16 | "postinstall": "electron-builder install-app-deps",
|
17 | 17 | "vite:dev": "cross-env NODE_ENV=development && node scripts/watch.vite.mjs",
|
18 | 18 | "electron:dev": "export NODE_ENV=development && yarn electron:devcore",
|
19 | 19 | "electron:devcore": "concurrently \"BROWSER=none yarn start\" \"wait-on http://localhost:3000 && tsc -p electron -w\" \"wait-on http://localhost:3000 && tsc -p electron && electron .\"",
|
20 | 20 | "electron:windev": "concurrently \"SET NODE_ENV=none && SET BROWSER=none && yarn start\" \"wait-on http://localhost:3000 && tsc -p electron -w\" \"wait-on http://localhost:3000 && tsc -p electron && electron .\"",
|
21 |
| - "electron:pre-build": "yarn build && yarn copy-macos-manifest && tsc -p electron", |
| 21 | + "electron:pre-build": "cross-env NODE_OPTIONS=\"--max_old_space_size=8192 --openssl-legacy-provider\" && yarn build && yarn copy-macos-manifest && tsc -p electron", |
22 | 22 | "copy-macos-manifest": "copyfiles entitlements* ./build/",
|
23 | 23 | "clean-builds": "rimraf build && rimraf dist",
|
24 |
| - "electron:build": "cross-env NODE_OPTIONS=--max_old_space_size=8192 && yarn clean-builds && yarn build && yarn copy-macos-manifest && tsc -p electron && electron-builder --publish=never", |
| 24 | + "electron:build": "cross-env NODE_OPTIONS=\"--max_old_space_size=8192 --openssl-legacy-provider\" && yarn clean-builds && yarn build && yarn copy-macos-manifest && tsc -p electron && electron-builder --publish=never", |
25 | 25 | "lint-staged": "lint-staged",
|
26 | 26 | "lint:js": "eslint --cache --fix --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
|
27 | 27 | "prettier": "prettier --write '/src/**/*.{js,jsx,tsx,ts,less,md,json}'",
|
|
0 commit comments