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
+1 -1
View File
@@ -6,7 +6,7 @@
"types": "src/index.ts",
"scripts": {
"start": "npm run build && node dist/",
"test": "npm run build && jest",
"test": "npm run build && npx jest",
"postinstall": "npm run build",
"build": "npx tsc -p .",
"typeorm": "node --require ts-node/register ./node_modules/typeorm/cli.js"