]> Untitled Git - lemmy.git/blobdiff - ui/package.json
routes.api: fix get_captcha endpoint (#1135)
[lemmy.git] / ui / package.json
index 82f9f459423b4e408a8357a4a1a9497ed840c348..76920d184a90e2f030d2687619e3ad94e0c8c23c 100644 (file)
@@ -6,7 +6,7 @@
   "license": "AGPL-3.0-or-later",
   "main": "index.js",
   "scripts": {
-    "api-test": "jest src/api_tests/api.spec.ts",
+    "api-test": "jest src/api_tests/ -i --verbose",
     "build": "node fuse prod",
     "lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
     "prebuild": "node generate_translations.js",
     "husky": "^4.2.5",
     "i18next": "^19.4.1",
     "inferno": "^7.4.2",
-    "inferno-i18next": "nimbusec-oss/inferno-i18next",
+    "inferno-helmet": "^5.2.1",
+    "inferno-i18next": "github:nimbusec-oss/inferno-i18next#semver:^7.4.2",
     "inferno-router": "^7.4.2",
     "js-cookie": "^2.2.0",
     "jwt-decode": "^2.2.0",
+    "lemmy-js-client": "^1.0.9",
     "markdown-it": "^11.0.0",
     "markdown-it-container": "^3.0.0",
     "markdown-it-emoji": "^1.4.0",
@@ -45,6 +47,7 @@
     "node-fetch": "^2.6.0",
     "prettier": "^2.0.4",
     "reconnecting-websocket": "^4.4.0",
+    "register-service-worker": "^1.7.1",
     "rxjs": "^6.5.5",
     "terser": "^4.6.11",
     "tippy.js": "^6.1.1",
@@ -72,7 +75,7 @@
   "engineStrict": true,
   "husky": {
     "hooks": {
-      "pre-commit": "cargo clippy --manifest-path ../server/Cargo.toml --all-targets --workspace -- -D warnings && lint-staged"
+      "pre-commit": "cargo +nightly clippy --manifest-path ../server/Cargo.toml --all-targets --workspace -- -D warnings && lint-staged"
     }
   },
   "lint-staged": {
@@ -81,7 +84,7 @@
       "eslint --fix"
     ],
     "../server/src/**/*.rs": [
-      "rustfmt --config-path ../server/.rustfmt.toml"
+      "rustfmt +nightly --config-path ../server/.rustfmt.toml"
     ],
     "package.json": [
       "sortpack"