Update commands to use Yarn, remove @types/electron

This commit is contained in:
Korbs 2023-08-30 16:16:45 -04:00
parent ad89aa793a
commit ccdbff838f
No known key found for this signature in database

View file

@ -4,24 +4,26 @@
"license": "AGPL-3.0-or-later",
"main": ".build/output/electron/app/electron/main/index.js",
"scripts": {
"start": "concurrently \"npm run tsc\" \"npm run astro:start\" \"wait-on http://localhost:2023 && npm run electron:start\"",
"build": "npm run tsc && npm run astro:build && npm run electron:build",
"start": "concurrently -r -t -g -n \"yarn tsc\" \"yarn astro:start\" \"wait-on http://localhost:2023 && yarn electron:start\"",
"build": "yarn tsc && yarn astro:build && yarn electron:build",
"tsc": "tsc -p .build/devlopment/tsconfig-build.json",
"astro:start": "astro dev --silent --root ./app/astro/",
"astro:build": "astro build --silent --root ./app/astro/",
"electron:start": "NODE_ENV=development electron .",
"electron:build": "electron-builder --config ./.build/electron-builder.ts"
"electron:build": "electron-builder --config ./.build/electron-builder.ts",
"update": "yarn upgrade --latest"
},
"dependencies": {
"astro": "^2.10.14",
"astro": "^3.0.2",
"astro-color-scheme": "^1.1.2",
"electron-titlebar-respect": "^1.1.2",
"typescript": "^5.2.2"
},
"devDependencies": {
"@types/electron": "^1.6.10",
"concurrently": "^8.2.1",
"electron": "^26.1.0",
"electron-builder": "^24.6.3",
"wait-on": "^7.0.1"
}
},
"packageManager": "yarn@1.22.19"
}