chore: fix package.json scripts

npx should be used to execute local package binaries
This commit is contained in:
Nobody
2022-07-19 10:20:36 +03:00
committed by Erkin Alp Güney
parent 072f6ab862
commit 469e55fffa
6 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
"description": "",
"main": "src/start.js",
"scripts": {
"setup": "node scripts/install.js && npm install --no-optional && ts-patch install -s && patch-package --patch-dir ../api/patches/ && npm run build",
"setup": "node scripts/install.js && npm install --no-optional && npx ts-patch install -s && npx patch-package --patch-dir ../api/patches/ && npm run build",
"build": "node scripts/build.js",
"start": "node scripts/build.js && node dist/bundle/src/start.js",
"start:bundle": "node dist/bundle/src/start.js",
@@ -111,4 +111,4 @@
"typescript-json-schema": "^0.50.1",
"ws": "^7.4.2"
}
}
}