Fix macos-notification-state build issue (#2310)
* Fix macos-notification-state build issue * Fix windows build, a bit of cleanup
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
"build": "npm-run-all build:*",
|
||||
"build:main": "webpack-cli --config webpack.config.main.js",
|
||||
"build:renderer": "webpack-cli --config webpack.config.renderer.js",
|
||||
"build-robotjs": "cross-env CL='/std:c++17' electron-rebuild -v 21.1.0 -m ./node_modules/robotjs",
|
||||
"build-robotjs": "cross-env CL='/std:c++17' electron-rebuild -m ./node_modules/robotjs",
|
||||
"start": "electron dist/ --disable-dev-mode",
|
||||
"restart": "npm run build && npm run start",
|
||||
"storybook": "start-storybook -p 9001 -c src/.storybook",
|
||||
@@ -69,7 +69,7 @@
|
||||
"prune": "ts-prune",
|
||||
"mmjstool": "mmjstool",
|
||||
"i18n-extract": "npm run mmjstool -- i18n extract-desktop",
|
||||
"postinstall": "electron-rebuild"
|
||||
"postinstall": "node scripts/patch_macos_notification_state.js && electron-builder install-app-deps"
|
||||
},
|
||||
"jest": {
|
||||
"clearMocks": true,
|
||||
@@ -176,6 +176,7 @@
|
||||
"mochawesome": "7.1.3",
|
||||
"nan": "2.17.0",
|
||||
"node-abi": "3.26.0",
|
||||
"node-jq": "2.3.4",
|
||||
"node-loader": "2.0.0",
|
||||
"npm-run-all": "4.1.5",
|
||||
"playwright": "1.23.4",
|
||||
|
Reference in New Issue
Block a user