Electron build docs and libraries update

This commit is contained in:
Mike Molinari 2022-11-06 08:49:13 +00:00
parent 2c7fca94d3
commit 999ec20fd6
2 changed files with 15 additions and 14 deletions

View file

@ -77,18 +77,20 @@ Get Started With the Code
=========================
Install node.js
* $ cd \<jsketcher folder\>
* $ npm install
* $ npm start
```
npm install
npm start
```
Generate Electron Build for desktop
=========================
* $ npm run electron:package:linux
* $ npm run electron:package:win
* $ npm run electron:package:mac
```
npm run electron:package:linux
npm run electron:package:win
npm run electron:package:mac
```
The resulting binary will be placed in the dist folder that is generated.

View file

@ -118,7 +118,8 @@
"cypress": "^4.7.0",
"cypress-wait-until": "^1.7.1",
"del": "^6.0.0",
"electron": "^21.2.0",
"electron": "^6.1.12",
"electron-builder": "^22.10.3",
"eslint": "^8.22.0",
"eslint-plugin-import": "^2.26.0",
"file-loader": "^6.2.0",
@ -136,7 +137,6 @@
"wait-on": "^6.0.1",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"electron-builder": "^23.6.0",
"webpack-dev-server": "^4.10.0"
},
"dependencies": {
@ -146,7 +146,6 @@
"classnames": "2.2.5",
"clipper-lib": "6.2.1",
"earcut": "2.1.1",
"font-awesome": "4.7.0",
"immer": "^9.0.12",
"jsketcher-occ-engine": "1.0.1-5efaf53accb45bac475155fc4d5552642c19e91e",
@ -168,5 +167,5 @@
"three": "^0.143.0",
"url": "^0.11.0"
},
"proxy":"http://localhost:3000"
"proxy": "http://localhost:3000"
}