Skip to content

Commit e56469d

Browse files
committed
feat: add npm scripts to monorepo root
1 parent b5c2f08 commit e56469d

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

package.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"name": "gitwit",
23
"private": true,
34
"workspaces": [
45
"web",
@@ -7,9 +8,15 @@
78
"lib"
89
],
910
"scripts": {
10-
"dev": "concurrently \"npm run dev -w web\" \"npm run dev -w server\"",
11-
"build:web": "cd web && npm run build",
12-
"install:web": "npm install && cd web && npm install"
11+
"dev": "concurrently -k -n WEB,SERVER -c blue,green \"npm run dev -w web\" \"npm run dev -w server\"",
12+
"dev:web": "npm run dev -w web",
13+
"dev:server": "npm run dev -w server",
14+
"build": "npm run build -w web && npm run build -w server",
15+
"build:web": "npm run build -w web",
16+
"build:server": "npm run build -w server",
17+
"start": "concurrently -k \"npm start -w web\" \"npm start -w server\"",
18+
"start:web": "npm start -w web",
19+
"start:server": "npm start -w server"
1320
},
1421
"devDependencies": {
1522
"concurrently": "^8.2.2"

0 commit comments

Comments
 (0)