Skip to content

Commit

Permalink
Merge pull request #183 from Nick22nd/dev-command
Browse files Browse the repository at this point in the history
dev:add tasks.json and add some dev command to package.json
  • Loading branch information
6174 authored Feb 5, 2024
2 parents 6ceeea7 + 33a2d1f commit 6e5a045
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
36 changes: 36 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "startf",
"type": "shell",
"command": "npm run dev:frontend",
"problemMatcher": [],
"presentation": {
"reveal": "always",
"panel": "new"
}
},
{
"label": "startb",
"type": "shell",
"command": "npm run dev:backend",
"problemMatcher": [],
"presentation": {
"reveal": "always",
"panel": "new"
}
},
{
"label": "start both",
"dependsOn": [
"startf",
"startb"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"dev": "turbo run dev",
"lint": "turbo run lint",
"install-package-builder": "cd ./apps/electron-package && npm i",
"format": "prettier --write \"**/*.{ts,tsx,md}\""
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"dev:frontend": "cd ./apps/electron-frontend && pnpm run dev",
"dev:backend": "cd ./apps/electron-backend && pnpm run dev"
},
"devDependencies": {
"@types/jest": "^29.5.10",
Expand Down

0 comments on commit 6e5a045

Please sign in to comment.