Skip to content

Commit 46a480a

Browse files
committed
address comments
1 parent d613801 commit 46a480a

File tree

4 files changed

+20
-12
lines changed

4 files changed

+20
-12
lines changed

examples/development/nodejs/nodejs-npm/devbox.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
],
55
"shell": {
66
"init_hook": [
7-
"npm install",
8-
"npm run start"
9-
]
7+
"npm install"
8+
],
9+
"scripts": {
10+
"run_test": "npm run start"
11+
}
1012
}
1113
}

examples/development/nodejs/nodejs-pnpm/devbox.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
],
66
"shell": {
77
"init_hook": [
8-
"pnpm install",
9-
"pnpm run start"
10-
]
8+
"pnpm install"
9+
],
10+
"scripts": {
11+
"run_test": "pnpm run start"
12+
}
1113
}
1214
}

examples/development/nodejs/nodejs-typescript/devbox.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
"shell": {
66
"init_hook": [
77
"npm install",
8-
"npm run build",
9-
"npm run start"
10-
]
8+
"npm run build"
9+
],
10+
"scripts": {
11+
"run_test": "npm run start"
12+
}
1113
}
1214
}

examples/development/nodejs/nodejs-yarn/devbox.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
],
66
"shell": {
77
"init_hook": [
8-
"yarn install",
9-
"yarn start"
10-
]
8+
"yarn install"
9+
],
10+
"scripts": {
11+
"run_test": "yarn start"
12+
}
1113
}
1214
}

0 commit comments

Comments
 (0)