diff --git a/package.json b/package.json index 7210a5b..9697721 100644 --- a/package.json +++ b/package.json @@ -10,12 +10,13 @@ "build": "tsc", "watch:build": "tsc -w", "watch:electron": "nodemon --exec npm start", - "lint": "eslint . --ext .js,.jsx,.ts,.tsx", + "lint": "run -T g:eslint . --ext .js,.jsx,.ts,.tsx", "start": "electron ./dist/main.js", "build:binary": "electron-builder", "dev": "yarn && yarn build && concurrently --kill-others \"yarn watch:build\" \"yarn watch:electron\"", "release:release": "sofie-version", - "release": "yarn release:release" + "release": "yarn release:release", + "g:eslint": "cd $INIT_CWD && \"$PROJECT_CWD/node_modules/.bin/eslint\"" }, "repository": "https://github.com/nrkno/sofie-chef", "homepage": "https://github.com/nrkno/sofie-chef#readme", @@ -99,4 +100,4 @@ ] }, "packageManager": "yarn@3.6.3+sha512.d432ab8b22b89cb8b46649ebaf196159b0c1870904224771d75fdf8b55490aaa5de4d9f028deb0425f1513bff7843e97b9d117103795a23b12d2e7c1cedcf50f" -} +} \ No newline at end of file