diff --git a/package.json b/package.json index a581da3dd..8379c6c1f 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,9 @@ "affected:lint": "nx affected:lint", "affected:test": "nx affected:test", "angular": "node --max_old_space_size=32768 ./node_modules/@angular/cli/bin/ng", - "build:all": "nx api:build:production && nx client:build:production --localize && yarn replace-placeholders-in-build", - "build:dev": "nx api:build && nx client:build --localize && yarn replace-placeholders-in-build", - "build:storybook": "nx ui:build-storybook", + "build:all": "nx run api:build:production && nx run client:build:production --localize && yarn replace-placeholders-in-build", + "build:dev": "nx run api:build && nx run client:build --localize && yarn replace-placeholders-in-build", + "build:storybook": "nx run ui:build-storybook", "clean": "rimraf dist", "database:format-schema": "prisma format", "database:generate-typings": "prisma generate", @@ -28,7 +28,7 @@ "database:validate": "prisma validate", "dep-graph": "nx dep-graph", "e2e": "ng e2e", - "extract-locales": "nx client:extract-i18n --output-path ./apps/client/src/locales", + "extract-locales": "nx run client:extract-i18n --output-path ./apps/client/src/locales", "format": "nx format:write", "format:check": "nx format:check", "format:write": "nx format:write", @@ -40,15 +40,15 @@ "postinstall": "prisma generate && ngcc --properties es2020 browser module main", "replace-placeholders-in-build": "node ./replace.build.js", "start": "node dist/apps/api/main", - "start:client": "nx client:serve --configuration=development-en --hmr -o", + "start:client": "nx run client:serve --configuration=development-en --hmr -o", "start:prod": "yarn database:migrate && yarn database:seed && node main", - "start:server": "nx api:serve --watch", - "start:storybook": "nx ui:storybook", + "start:server": "nx run api:serve --watch", + "start:storybook": "nx run ui:storybook", "test": "nx test", "test:single": "nx test --test-file portfolio-calculator-novn-buy-and-sell.spec.ts", "ts-node": "ts-node", "update": "nx migrate latest", - "watch:server": "nx api:build --watch", + "watch:server": "nx run api:build --watch", "watch:test": "nx test --watch", "workspace-generator": "nx workspace-generator" },