From 469e55fffa9ee68b6777eb7e923d5a3e07006335 Mon Sep 17 00:00:00 2001 From: Nobody Date: Tue, 19 Jul 2022 03:58:01 -0300 Subject: chore: fix package.json scripts npx should be used to execute local package binaries --- api/package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'api') diff --git a/api/package.json b/api/package.json index 29fa82a1..1bb49261 100644 --- a/api/package.json +++ b/api/package.json @@ -5,14 +5,14 @@ "main": "dist/index.js", "types": "src/index.ts", "scripts": { - "test:only": "jest --coverage --verbose --forceExit ./tests", - "test:routes": "jest --coverage --verbose --forceExit ./routes.test.ts", + "test:only": "npx jest --coverage --verbose --forceExit ./tests", + "test:routes": "npx jest --coverage --verbose --forceExit ./routes.test.ts", "test": "npm run build && npm run test:only", - "test:watch": "jest --watch", + "test:watch": "npx jest --watch", "start": "npm run build && node dist/start", "build": "npx tsc -p .", - "dev": "tsnd --respawn src/start.ts", - "patch": "ts-patch install -s && npx patch-package", + "dev": "npx tsnd --respawn src/start.ts", + "patch": "npx ts-patch install -s && npx patch-package", "postinstall": "npm run patch", "generate:docs": "node scripts/generate_openapi", "generate:schema": "node scripts/generate_schema" -- cgit 1.5.1