Skip to content

Commit 68a7e1c

Browse files
committed
Change build sequence to parallel
1 parent cca9e9c commit 68a7e1c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

backend/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44
"description": "",
55
"main": "index.js",
66
"scripts": {
7-
"dev": "npm-run-all snippets:consolidate start:server",
8-
"build": "npm-run-all --sequential snippets:consolidate build:server",
7+
"dev": "npm-run-all snippets:consolidate dev:server",
8+
"dev:server": "tsx index.ts",
9+
"build": "npm-run-all --parallel snippets:consolidate build:server",
910
"build:server": "tsup index.ts --out-dir dist --format esm",
10-
"prestart": "npm run build",
1111
"start": "node dist/index.js",
12-
"start:server": "tsx index.ts",
1312
"lint": "eslint .",
1413
"format": "prettier --write .",
1514
"format:check": "prettier --check .",

0 commit comments

Comments
 (0)