Add lint:js-fix script

This commit is contained in:
Michael Telatynski 2021-07-19 22:49:17 +01:00
parent 63065761ed
commit 0ac9454e3a

View File

@ -21,6 +21,7 @@
"start": "yarn run build:ts && yarn run build:res && electron .", "start": "yarn run build:ts && yarn run build:res && electron .",
"lint": "yarn lint:types && yarn lint:js", "lint": "yarn lint:types && yarn lint:js",
"lint:js": "eslint src/ scripts/ hak/", "lint:js": "eslint src/ scripts/ hak/",
"lint:js-fix": "eslint --fix src scripts hak",
"lint:types": "tsc --noEmit", "lint:types": "tsc --noEmit",
"build:native": "yarn run hak", "build:native": "yarn run hak",
"build:native:universal": "yarn run hak --target x86_64-apple-darwin fetchandbuild && yarn run hak --target aarch64-apple-darwin fetchandbuild && yarn run hak --target x86_64-apple-darwin --target aarch64-apple-darwin copyandlink", "build:native:universal": "yarn run hak --target x86_64-apple-darwin fetchandbuild && yarn run hak --target aarch64-apple-darwin fetchandbuild && yarn run hak --target x86_64-apple-darwin --target aarch64-apple-darwin copyandlink",