Skip to content

Commit 02bed96

Browse files
committed
Add 'concurrently' for improved script
1 parent 86e85d0 commit 02bed96

File tree

2 files changed

+27
-19
lines changed

2 files changed

+27
-19
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"private": true,
55
"description": "A simple event management application",
66
"scripts": {
7-
"preinstall": "npx only-allow pnpm",
7+
"dev": "concurrently \"pnpm frontend dev\" \"pnpm backend start\"",
8+
"build": "concurrently \"pnpm frontend build\" \"pnpm backend build\"",
89
"frontend": "pnpm --filter @syncup/frontend",
910
"backend": "pnpm --filter @syncup/backend"
1011
},
@@ -15,6 +16,6 @@
1516
},
1617
"license": "Apache-2.0",
1718
"devDependencies": {
18-
"only-allow": "^1.2.1"
19+
"concurrently": "^9.1.2"
1920
}
2021
}

pnpm-lock.yaml

Lines changed: 24 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)