Use --prefix instead of cd in npm scripts

This commit is contained in:
samogot 2018-01-27 16:32:23 +02:00
parent 65cf800283
commit d980a23dd3
1 changed files with 3 additions and 3 deletions

View File

@ -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"
}
}