Skip to content
This repository was archived by the owner on Aug 2, 2024. It is now read-only.

Commit f5f3e7a

Browse files
CodesOfRaChristianKienle
authored andcommitted
fix: change serve script for --cwd yarn issue
1 parent 739c243 commit f5f3e7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"version": "0.1.1-rc.3",
44
"scripts": {
55
"bootstrap": "yarn install && yarn --cwd build install && yarn --cwd ui install && yarn --cwd docs install && yarn --cwd server install",
6-
"serve": "concurrently --kill-others --names \"dev-server,ui,docs\" -c \"blue, red,green\" \"node server\" \"yarn build:ui:dev --watch\" \"yarn --cwd docs serve\"",
6+
"serve": "concurrently --kill-others --names \"dev-server,ui,docs\" -c \"blue, red,green\" \"node server\" \"yarn build:ui:dev --watch\" \"cd docs && yarn serve\"",
77
"serve:prod": "concurrently --kill-others --names \"dev-server,ui,docs\" -c \"blue, red,green\" \"node server\" \"yarn --cwd ui build --watch --mode production --report\" \"yarn --cwd docs serve --mode production --report\"",
88
"build:ui": "yarn --cwd ui build",
9-
"build:ui:dev": "yarn --cwd ui build --mode development",
9+
"build:ui:dev": "cd ui && yarn build --mode development",
1010
"build:docs": "yarn --cwd docs build --mode production --report",
1111
"build:all": "rm -rf dist && yarn build:ui --mode production && yarn build:docs --mode production && mkdir dist && cp -r ui/dist/* dist && cp -r docs/dist/* dist",
1212
"build": "yarn build:ui && rm -rf dist && mkdir dist && cp -r ./ui/dist/*.js dist && cp -r ./ui/dist/*.js.map dist",

0 commit comments

Comments
 (0)