]> Untitled Git - lemmy.git/blobdiff - api_tests/package.json
Speedup CI (#3852)
[lemmy.git] / api_tests / package.json
index 20d919b284967c60e95c083d413c5ab80a5b8def..1810b8d2ffa5449ac05acf151768513c903f7d8c 100644 (file)
@@ -7,24 +7,21 @@
   "author": "Dessalines",
   "license": "AGPL-3.0",
   "scripts": {
-    "lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
+    "lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src && prettier --check 'src/**/*.ts'",
     "fix": "prettier --write src && eslint --fix src",
-    "api-test": "jest -i follow.spec.ts && jest -i src/post.spec.ts && jest -i comment.spec.ts && jest -i private_message.spec.ts && jest -i user.spec.ts && jest -i community.spec.ts"
+    "api-test": "jest -i follow.spec.ts && jest -i post.spec.ts && jest -i comment.spec.ts && jest -i private_message.spec.ts && jest -i user.spec.ts && jest -i community.spec.ts"
   },
   "devDependencies": {
-    "@sniptt/monads": "^0.5.10",
-    "@types/jest": "^26.0.23",
-    "@typescript-eslint/eslint-plugin": "^5.21.0",
-    "@typescript-eslint/parser": "^5.21.0",
-    "class-transformer": "^0.5.1",
-    "eslint": "^8.25.0",
+    "@types/jest": "^29.5.1",
+    "@types/node": "^20.1.2",
+    "@typescript-eslint/eslint-plugin": "^5.59.5",
+    "@typescript-eslint/parser": "^5.59.5",
+    "eslint": "^8.40.0",
     "eslint-plugin-prettier": "^4.0.0",
-    "jest": "^27.0.6",
-    "lemmy-js-client": "0.17.0-rc.56",
-    "node-fetch": "^2.6.1",
-    "prettier": "^2.7.1",
-    "reflect-metadata": "^0.1.13",
-    "ts-jest": "^27.0.3",
-    "typescript": "^4.8.4"
+    "jest": "^29.5.0",
+    "lemmy-js-client": "0.18.3-rc.3",
+    "prettier": "^3.0.0",
+    "ts-jest": "^29.1.0",
+    "typescript": "^5.0.4"
   }
 }