diff --git a/package.json b/package.json index 074e7080d..9c6e79acf 100644 --- a/package.json +++ b/package.json @@ -5,19 +5,19 @@ "license": "AGPL-3.0", "repository": "https://github.com/ghostfolio/ghostfolio", "scripts": { - "affected": "nx affected", - "affected:apps": "nx affected:apps", - "affected:build": "nx affected:build", - "affected:dep-graph": "nx affected:dep-graph", - "affected:libs": "nx affected:libs", - "affected:lint": "nx affected:lint", - "affected:test": "nx affected:test", - "analyze:client": "nx run client:build:production --stats-json && webpack-bundle-analyzer -p 1234 dist/apps/client/en/stats.json", + "affected": "npx nx affected", + "affected:apps": "npx nx affected:apps", + "affected:build": "npx nx affected:build", + "affected:dep-graph": "npx nx affected:dep-graph", + "affected:libs": "npx nx affected:libs", + "affected:lint": "npx nx affected:lint", + "affected:test": "npx nx affected:test", + "analyze:client": "npx nx run client:build:production --stats-json && webpack-bundle-analyzer -p 1234 dist/apps/client/en/stats.json", "angular": "node --max_old_space_size=32768 ./node_modules/@angular/cli/bin/ng", "build": "npm run build:api", - "build:api": "nx run api:copy-assets && nx run api:build:production", - "build:production": "nx run api:copy-assets && nx run api:build:production && nx run client:copy-assets && nx run client:build:production && nx run ui:build-storybook && npm run replace-placeholders-in-build", - "build:storybook": "nx run ui:build-storybook", + "build:api": "npx nx run api:copy-assets && npx nx run api:build:production", + "build:production": "npx nx run api:copy-assets && npx nx run api:build:production && npx nx run client:copy-assets && npx nx run client:build:production && npx nx run ui:build-storybook && npm run replace-placeholders-in-build", + "build:storybook": "npx nx run ui:build-storybook", "database:format-schema": "prisma format", "database:generate-typings": "prisma generate", "database:gui": "prisma studio", @@ -27,34 +27,34 @@ "database:seed": "prisma db seed", "database:setup": "npm run database:push && npm run database:seed", "database:validate-schema": "prisma validate", - "dep-graph": "nx dep-graph", - "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", - "help": "nx help", - "lint": "nx run-many --target=lint --all", - "ng": "nx", - "nx": "nx", + "dep-graph": "npx nx dep-graph", + "extract-locales": "npx nx run client:extract-i18n --output-path ./apps/client/src/locales", + "format": "npx nx format:write", + "format:check": "npx nx format:check", + "format:write": "npx nx format:write", + "help": "npx nx help", + "lint": "npx nx run-many --target=lint --all", + "ng": "npx nx", + "nx": "npx nx", "postinstall": "prisma generate", "prepare": "husky", "prisma": "prisma", "replace-placeholders-in-build": "node ./replace.build.mjs", "start": "node dist/apps/api/main", - "start:client": "nx run client:copy-assets && nx run client:serve --configuration=development-en --hmr -o", + "start:client": "npx nx run client:copy-assets && npx nx run client:serve --configuration=development-en --hmr -o", "start:production": "npm run database:migrate && npm run database:seed && node main", - "start:server": "nx run api:copy-assets && nx run api:serve --watch", - "start:storybook": "nx run ui:storybook", + "start:server": "npx nx run api:copy-assets && npx nx run api:serve --watch", + "start:storybook": "npx nx run ui:storybook", "test": "npx dotenv-cli -e .env.example -- npx nx run-many --target=test --all --parallel=4", - "test:api": "npx dotenv-cli -e .env.example -- nx test api", - "test:common": "npx dotenv-cli -e .env.example -- nx test common", - "test:single": "nx run api:test --test-file object.helper.spec.ts", - "test:ui": "npx dotenv-cli -e .env.example -- nx test ui", + "test:api": "npx dotenv-cli -e .env.example -- npx nx test api", + "test:common": "npx dotenv-cli -e .env.example -- npx nx test common", + "test:single": "npx nx run api:test --test-file object.helper.spec.ts", + "test:ui": "npx dotenv-cli -e .env.example -- npx nx test ui", "ts-node": "ts-node", - "update": "nx migrate latest", - "watch:server": "nx run api:copy-assets && nx run api:build --watch", - "watch:test": "nx test --watch", - "workspace-generator": "nx workspace-generator" + "update": "npx nx migrate latest", + "watch:server": "npx nx run api:copy-assets && npx nx run api:build --watch", + "watch:test": "npx nx test --watch", + "workspace-generator": "npx nx workspace-generator" }, "dependencies": { "@angular/animations": "21.1.1",