Use --prefix instead of cd in npm scripts
This commit is contained in:
parent
65cf800283
commit
d980a23dd3
|
@ -42,9 +42,9 @@
|
|||
|
||||
},
|
||||
"scripts": {
|
||||
"build": "cd ./client && npm run build && cd ../core && npm run build && cd ../csseditor && npm run build",
|
||||
"watch_client": "cd ./client && npm run watch",
|
||||
"watch_core": "cd ./core && npm run watch",
|
||||
"build": "npm run build --prefix client && npm run build --prefix core && npm run build --prefix csseditor",
|
||||
"watch_client": "npm run watch --prefix client",
|
||||
"watch_core": "npm run watch --prefix core",
|
||||
"test": "npm run build"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue