Skip to content

Commit

Permalink
commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Tum4ik committed Nov 21, 2024
1 parent 36ac64a commit 60ae40d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"scripts": {
"electron": "@powershell ./scripts/electron.ps1",
"electron-serve": "@powershell ./scripts/electron-serve.ps1",
"copy-files-from-to": "copy-files-from-to",
"concurrently": "concurrently",
"outdated": "npm outdated",
"update-packages": "npm update --save",
"ng": "ng",
Expand Down
4 changes: 2 additions & 2 deletions scripts/electron-serve.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ dotnet publish `
./dotnet/JustClipboardManager.ClipboardListener/JustClipboardManager.ClipboardListener.csproj `
--output ./dist/dotnet

copy-files-from-to
npm run copy-files-from-to
tsc -p tsconfig.electron.json

cd ./plugins/text-plugin
npx rollup -c
cd ../../

concurrently "ng serve" "wait-on tcp:4200 && electron . --serve"
npm run concurrently "ng serve" "wait-on tcp:4200 && electron . --serve"
2 changes: 1 addition & 1 deletion scripts/electron.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dotnet publish `
./dotnet/JustClipboardManager.ClipboardListener/JustClipboardManager.ClipboardListener.csproj `
--output ./dist/dotnet

copy-files-from-to
npm run copy-files-from-to
tsc -p tsconfig.electron.json

cd ./plugins/text-plugin
Expand Down
2 changes: 1 addition & 1 deletion scripts/prod-electron-forge-make.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
copy-files-from-to
npm run copy-files-from-to
tsc -p tsconfig.electron.json

npm run build
Expand Down

0 comments on commit 60ae40d

Please sign in to comment.