Update build script

This commit is contained in:
Piotr Rogowski 2021-03-22 22:40:52 +01:00
parent e2860fde14
commit e3e26f51f4
No known key found for this signature in database
GPG Key ID: F40F61D5587F5673
3 changed files with 3 additions and 7 deletions

2
package-lock.json generated
View File

@ -1,5 +1,5 @@
{
"name": "speedy-tuner",
"name": "speedy-tuner-cloud",
"version": "0.1.0",
"lockfileVersion": 2,
"requires": true,

View File

@ -1,5 +1,5 @@
{
"name": "speedy-tuner",
"name": "speedy-tuner-cloud",
"description": "Speeduino Tuning Software",
"version": "0.1.0",
"private": true,
@ -9,7 +9,7 @@
"scripts": {
"start": "craco start",
"dev": "concurrently \"npm start\" \"wait-on http://localhost:3000 && electron .\"",
"web:build": "craco build",
"build": "craco build",
"electron:compile": "tsc -p tsconfig.custom.json",
"electron:start": "npm run electron:compile && electron-forge start",
"electron:package": "npm run web:build && npm run electron:compile && electron-forge package",

View File

@ -51,10 +51,6 @@ const App = ({ ui, config }: { ui: UIState, config: ConfigType }) => {
return generatePath(Routes.DIALOG, { category: firstCategory, dialog: firstDialog });
}, [config.menus]);
console.log({
firstDialogPath,
});
useEffect(() => {
loadAll();
// window.addEventListener('beforeunload', beforeUnload);