|
12 | 12 | }, |
13 | 13 | "description": "Dashboard for HERO robot", |
14 | 14 | "scripts": { |
15 | | - "serve": "vue-cli-service serve", |
16 | | - "build": "vue-cli-service build", |
17 | | - "test": "playwright test", |
18 | | - "lint": "vue-cli-service lint", |
| 15 | + "serve": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service serve", |
| 16 | + "build": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build", |
| 17 | + "test": "NODE_OPTIONS=--openssl-legacy-provider playwright test", |
| 18 | + "lint": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service lint", |
19 | 19 | "preelectron:build": "npm run lint && npm run electron:generate-icons", |
20 | | - "electron:build": "vue-cli-service electron:build --publish=never", |
21 | | - "electron:serve": "vue-cli-service electron:serve localhost", |
22 | | - "electron:generate-icons": "electron-icon-builder --input=./public/icon.png --output=build --flatten", |
23 | | - "postinstall": "electron-builder install-app-deps", |
24 | | - "postuninstall": "electron-builder install-app-deps", |
| 20 | + "electron:build": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service electron:build --publish=never", |
| 21 | + "electron:serve": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service electron:serve localhost", |
| 22 | + "electron:generate-icons": "NODE_OPTIONS=--openssl-legacy-provider electron-icon-builder --input=./public/icon.png --output=build --flatten", |
| 23 | + "postinstall": "NODE_OPTIONS=--openssl-legacy-provider electron-builder install-app-deps", |
| 24 | + "postuninstall": "NODE_OPTIONS=--openssl-legacy-provider electron-builder install-app-deps", |
25 | 25 | "version": "npm run electron:build", |
26 | 26 | "patch": "npm version patch -m 'v%s' && npm run postpublish", |
27 | 27 | "minor": "npm version minor -m 'v%s' && npm run postpublish", |
|
0 commit comments