diff --git a/package.json b/package.json index a2fbc8d99..d656d2481 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "sh2", "version": "1.0.0", - "main": "index.js", + "main": "emain.js", "license": "Proprietary", "dependencies": { "autobind-decorator": "^2.4.0", @@ -38,7 +38,7 @@ "babel-plugin-jsx-control-statements": "^4.1.2", "copy-webpack-plugin": "^11.0.0", "css-loader": "^6.7.1", - "electron": "19.0.13", + "electron": "19.1.3", "electron-rebuild": "^3.2.8", "http-server": "^14.1.1", "less": "^4.1.2", diff --git a/scripthaus.md b/scripthaus.md index 523bceeab..540d19066 100644 --- a/scripthaus.md +++ b/scripthaus.md @@ -35,3 +35,10 @@ node_modules/.bin/webpack-dev-server --config webpack.dev.js --host 0.0.0.0 # @scripthaus cd :playbook node_modules/.bin/tsc --jsx preserve --noEmit --esModuleInterop --target ES5 --experimentalDecorators --downlevelIteration src/sh2.ts ``` + +```bash +# @scripthaus command build-js +# @scripthaus cd :playbook +node_modules/.bin/webpack --config webpack.dev.js +node_modules/.bin/webpack --config webpack.electron.js +``` diff --git a/yarn.lock b/yarn.lock index d3c2c9f29..e07ef167a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2923,10 +2923,10 @@ electron@*: "@types/node" "^16.11.26" extract-zip "^2.0.1" -electron@19.0.13: - version "19.0.13" - resolved "https://registry.yarnpkg.com/electron/-/electron-19.0.13.tgz#68bcf7d94f249dbae9a3d4d1794d45a24db666dc" - integrity sha512-11Ne0VJy8L1GU7sGcbJHhkAz73szR27uP4vmfUVGlppC/ipA39AUkdzqiQoPC/F1EJdjEOBvHySG8K8Xe9yETA== +electron@19.1.3: + version "19.1.3" + resolved "https://registry.yarnpkg.com/electron/-/electron-19.1.3.tgz#90a2b6c3d738789d657477d87d1539f008be6536" + integrity sha512-P2kfFc8UqVvPHE1w9qTZSPNpfOqd+CK34K3wBqJwokzYdVBLsVkbIoLxyByjJ/cU35WaeCL5bsI8kXALfPvebw== dependencies: "@electron/get" "^1.14.1" "@types/node" "^16.11.26"