X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=package.json;h=00152a895b8f857733e6cbe0df9bfedba45904ec;hb=cf210ddda8ff5336feee10f733b022a72d906238;hp=12a12552bac70baab680dc499443c44351a4dc78;hpb=74c0a62db7e22aadfb5671dc240afc01982a15d9;p=alttp.git diff --git a/package.json b/package.json index 12a1255..00152a8 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "tabWidth": 4 } ], + "no-use-before-define": "error", "no-extra-parens": [ "warn", "all", @@ -66,13 +67,27 @@ ], "env": { "jest": true + }, + "settings": { + "import/resolver": { + "node": { + "paths": [ + "resources/js" + ] + } + } } } ] }, "jest": { + "moduleDirectories": [ + "node_modules", + "resources/js" + ], "roots": [ - "/resources/js" + "/resources/js", + "/tests/js" ], "setupFilesAfterEnv": [ "/resources/js/setup-jest.js" @@ -118,6 +133,7 @@ "@uiw/react-codemirror": "^4.21.9", "apng-js": "^1.1.1", "crc-32": "^1.2.2", + "d3-drag": "^3.0.0", "file-saver": "^2.0.5", "formik": "^2.2.9", "i18next": "^23.4.9",