mirror of
https://github.com/spacebarchat/server.git
synced 2026-08-28 13:54:08 +00:00
chore: fix package.json scripts
npx should be used to execute local package binaries
This commit is contained in:
+5
-5
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user