Update commands to use Yarn, remove @types/electron
This commit is contained in:
parent
ad89aa793a
commit
ccdbff838f
1 changed files with 9 additions and 7 deletions
16
package.json
16
package.json
|
@ -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"
|
||||
}
|
||||
|
|
Reference in a new issue