diff options
author | Nobody <git@n0bodysec.com> | 2022-07-19 03:58:01 -0300 |
---|---|---|
committer | Erkin Alp Güney <erkinalp9035@gmail.com> | 2022-07-19 10:20:36 +0300 |
commit | 469e55fffa9ee68b6777eb7e923d5a3e07006335 (patch) | |
tree | 4f7b735b9b4bd7e9cf52bf6a8849f5b59d71009b /api | |
parent | Display offline members in member list (#788) (diff) | |
download | server-469e55fffa9ee68b6777eb7e923d5a3e07006335.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.json | 10 |
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" |