From a9d942323707f783aa2a4d6a8648414af9888a3c Mon Sep 17 00:00:00 2001
From: Benedikt Magnus <magnus@magnuscraft.de>
Date: Mon, 17 Oct 2022 18:41:16 +0200
Subject: [PATCH] Removed unnecessary "./node_modules/.bin/" from the NPM
 scripts.

---
 package.json | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/package.json b/package.json
index 9534ade..5690046 100644
--- a/package.json
+++ b/package.json
@@ -10,19 +10,19 @@
         "url": "git+https://github.com/BenediktMagnus/Wichtelbot.git"
     },
     "scripts": {
-        "build": "./node_modules/.bin/tsc -p scripts/tsconfig.json",
-        "build:release": "./node_modules/.bin/tsc -p scripts/tsconfig.release.json",
+        "build": "tsc -p scripts/tsconfig.json",
+        "build:release": "tsc -p scripts/tsconfig.release.json",
         "clean": "rm -rf build && rm -rf coverage",
-        "coverage": "./node_modules/.bin/nyc npm run test",
-        "coverage:coveralls": "./node_modules/.bin/nyc --reporter=lcov npm run test",
-        "coverage:text": "./node_modules/.bin/nyc --reporter=text npm run test",
+        "coverage": "nyc npm run test",
+        "coverage:coveralls": "nyc --reporter=lcov npm run test",
+        "coverage:text": "nyc --reporter=text npm run test",
         "lint": "npm run lint:scripts && npm run lint:tests",
-        "lint:scripts": "cd scripts && ../node_modules/.bin/eslint .",
-        "lint:tests": "cd tests && ../node_modules/.bin/eslint .",
+        "lint:scripts": "cd scripts && .eslint .",
+        "lint:tests": "cd tests && .eslint .",
         "prepack": "npm run clean && npm run build:release",
         "prestart": "npm run build",
         "start": "node build/main.js",
-        "test": "./node_modules/.bin/mocha -r ts-node/register/transpile-only -t 12000 'tests/**/*.ts'"
+        "test": "mocha -r ts-node/register/transpile-only -t 12000 'tests/**/*.ts'"
     },
     "engines": {
         "node": ">=16.9.0"
-- 
GitLab