diff --git a/package.json b/package.json index 36a44e2..e0245ed 100644 --- a/package.json +++ b/package.json @@ -12,20 +12,20 @@ "start:server": "npx tsc && node dist/src/server.js", "test": "yarn test:app && yarn test:backend", "test:all": "yarn test:app && yarn test:backend && yarn test:demo-video", - "test:app": "cd app && yarn test", - "test:backend": "cd backend && yarn test", + "test:app": "(cd app && yarn test)", + "test:backend": "(cd backend && yarn test)", "test:electron": "tsc && mocha --require source-map-support/register dist/src/spec/ui-tests.spec.js", "test:browser": "tsc && mocha --require source-map-support/register dist/src/spec/ui-tests.spec.js", "test:demo-video": "npx tsc && node dist/src/spec/demoVideo.js", "test:ui": "tsc && mocha --require source-map-support/register dist/src/spec/ui-tests.spec.js", "test:ui:vnc": "tsc && ./scripts/uiTestsWithVnc.sh", "test:mcp": "tsc && node dist/src/spec/testMcpIntrospection.js", - "install": "cd app && yarn && cd ..", + "install": "(cd app && yarn)", "dev": "npm-run-all --parallel dev:*", - "dev:app": "cd app && npm run dev", + "dev:app": "(cd app && npm run dev)", "dev:electron": "tsc && electron . --development", "dev:server": "npm-run-all --parallel dev:server:*", - "dev:server:app": "cd app && npx webpack-dev-server --config webpack.browser.config.mjs --mode development --progress", + "dev:server:app": "(cd app && npx webpack-dev-server --config webpack.browser.config.mjs --mode development --progress)", "dev:server:backend": "tsc && node dist/src/server.js", "lint": "npm-run-all --parallel lint:prettier lint:tslint lint:spellcheck", "lint:fix": "npm-run-all lint:tslint:fix lint:prettier:fix", @@ -34,8 +34,8 @@ "lint:tslint": "tslint -p ./", "lint:tslint:fix": "tslint -p ./ --fix", "lint:spellcheck": "cspell -e ./build -e \"node_modules\" \"**/*.ts{x,}\"", - "build": "tsc && cd app && yarn run build && cd ..", - "build:server": "npx tsc && cd app && npx webpack --config webpack.browser.config.mjs --mode production && cd ..", + "build": "tsc && (cd app && yarn run build)", + "build:server": "npx tsc && (cd app && npx webpack --config webpack.browser.config.mjs --mode production)", "prepare-release": "tsx scripts/prepare-release.ts", "package": "tsx package.ts", "ui-test": "./scripts/uiTests.sh",