|
18 | 18 | ], |
19 | 19 | "description": "App for display on HERO robot", |
20 | 20 | "scripts": { |
21 | | - "serve": "vue-cli-service serve", |
22 | | - "build": "vue-cli-service build", |
23 | | - "test": "playwright test", |
24 | | - "lint": "vue-cli-service lint", |
| 21 | + "serve": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service serve", |
| 22 | + "build": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build", |
| 23 | + "test": "NODE_OPTIONS=--openssl-legacy-provider playwright test", |
| 24 | + "lint": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service lint", |
25 | 25 | "preelectron:build": "npm run lint && npm run electron:generate-icons", |
26 | | - "electron:build": "vue-cli-service electron:build --publish=never", |
27 | | - "electron:serve": "vue-cli-service electron:serve localhost", |
28 | | - "electron:generate-icons": "electron-icon-builder --input=./public/icon.png --output=build --flatten", |
29 | | - "postinstall": "electron-builder install-app-deps", |
30 | | - "postuninstall": "electron-builder install-app-deps", |
| 26 | + "electron:build": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service electron:build --publish=never", |
| 27 | + "electron:serve": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service electron:serve localhost", |
| 28 | + "electron:generate-icons": "NODE_OPTIONS=--openssl-legacy-provider electron-icon-builder --input=./public/icon.png --output=build --flatten", |
| 29 | + "postinstall": "NODE_OPTIONS=--openssl-legacy-provider electron-builder install-app-deps", |
| 30 | + "postuninstall": "NODE_OPTIONS=--openssl-legacy-provider electron-builder install-app-deps", |
31 | 31 | "version": "npm run electron:build", |
32 | 32 | "patch": "npm version patch -m 'v%s' && npm run postpublish", |
33 | 33 | "minor": "npm version minor -m 'v%s' && npm run postpublish", |
|
0 commit comments