summary refs log tree commit diff
path: root/api
diff options
context:
space:
mode:
authorNobody <git@n0bodysec.com>2022-07-19 03:58:01 -0300
committerErkin Alp Güney <erkinalp9035@gmail.com>2022-07-19 10:20:36 +0300
commita0914a126224371a2b3a46664bb027e36a8ed320 (patch)
tree79fcb6d650c494894eae93024567751e169f20b2 /api
parentDisplay offline members in member list (#788) (diff)
downloadserver-a0914a126224371a2b3a46664bb027e36a8ed320.tar.xz
chore: fix package.json scripts
npx should be used to execute local package binaries
Diffstat (limited to 'api')
-rw-r--r--api/package.json10
1 files changed, 5 insertions, 5 deletions
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"