]> Untitled Git - lemmy-ui.git/blobdiff - package.json
use set -e in all bash scripts
[lemmy-ui.git] / package.json
index f723e5adf907a8ab44ac89af2bad2575e276b7ca..b9377cf84d4d2bd02fd21d9a8e1ccb98f354cead 100644 (file)
@@ -8,92 +8,88 @@
     "build:prod": "webpack --mode=production",
     "clean": "yarn run rimraf dist",
     "dev": "yarn start",
-    "lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
+    "lint": "node generate_translations.js && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
     "prebuild:dev": "yarn clean && node generate_translations.js",
     "prebuild:prod": "yarn clean && node generate_translations.js",
     "start": "yarn build:dev --watch"
   },
   "repository": "https://github.com/LemmyNet/lemmy-ui",
   "dependencies": {
-    "@typescript-eslint/parser": "^4.8.1",
+    "@typescript-eslint/parser": "^4.21.0",
     "autosize": "^4.0.2",
     "choices.js": "^9.0.1",
     "emoji-short-name": "^1.0.0",
     "express": "~4.17.1",
-    "i18next": "^19.8.4",
-    "inferno": "^7.4.6",
-    "inferno-create-element": "^7.4.6",
+    "i18next": "^20.2.1",
+    "inferno": "^7.4.8",
+    "inferno-create-element": "^7.4.8",
     "inferno-helmet": "^5.2.1",
-    "inferno-hydrate": "^7.4.6",
+    "inferno-hydrate": "^7.4.8",
     "inferno-i18next": "github:nimbusec-oss/inferno-i18next#semver:^7.4.2",
-    "inferno-router": "^7.4.6",
-    "inferno-server": "^7.4.6",
+    "inferno-router": "^7.4.8",
+    "inferno-server": "^7.4.8",
     "isomorphic-cookie": "^1.2.4",
     "jwt-decode": "^3.1.2",
-    "markdown-it": "^12.0.2",
+    "markdown-it": "^12.0.4",
     "markdown-it-container": "^3.0.0",
-    "markdown-it-emoji": "^2.0.0",
     "markdown-it-sub": "^1.0.0",
     "markdown-it-sup": "^1.0.0",
     "moment": "^2.29.1",
     "reconnecting-websocket": "^4.4.0",
-    "register-service-worker": "^1.7.1",
-    "rxjs": "^6.6.3",
+    "register-service-worker": "^1.7.2",
+    "rxjs": "^6.6.7",
     "serialize-javascript": "^5.0.1",
-    "tippy.js": "^6.2.7",
-    "toastify-js": "^1.9.3",
+    "tippy.js": "^6.3.1",
+    "toastify-js": "^1.10.0",
     "tributejs": "^5.1.3",
-    "ws": "^7.4.0"
+    "ws": "^7.4.4"
   },
   "devDependencies": {
-    "@babel/core": "^7.12.3",
-    "@babel/plugin-transform-runtime": "^7.12.1",
-    "@babel/plugin-transform-typescript": "^7.12.1",
-    "@babel/preset-env": "7.12.1",
-    "@babel/preset-typescript": "^7.12.1",
-    "@babel/runtime": "^7.12.5",
+    "@babel/core": "^7.13.14",
+    "@babel/plugin-transform-runtime": "^7.13.10",
+    "@babel/plugin-transform-typescript": "^7.13.0",
+    "@babel/preset-env": "7.13.12",
+    "@babel/preset-typescript": "^7.13.0",
+    "@babel/runtime": "^7.13.10",
     "@types/autosize": "^3.0.6",
-    "@types/express": "^4.17.9",
-    "@types/node": "^14.14.8",
-    "@types/node-fetch": "^2.5.7",
-    "@types/serialize-javascript": "^4.0.0",
-    "babel-loader": "^8.2.1",
+    "@types/express": "^4.17.11",
+    "@types/node": "^14.14.37",
+    "@types/node-fetch": "^2.5.9",
+    "@types/serialize-javascript": "^5.0.0",
+    "@typescript-eslint/eslint-plugin": "^4.21.0",
+    "babel-loader": "^8.2.2",
     "babel-plugin-inferno": "^6",
-    "bootstrap": "^4.5.3",
-    "bootswatch": "^4.5.3",
+    "bootstrap": "^4.6.0",
+    "bootswatch": "^4.6.0",
     "clean-webpack-plugin": "^3.0.0",
-    "copy-webpack-plugin": "^6.3.1",
-    "css-loader": "^5.0.1",
-    "eslint": "^7.13.0",
-    "eslint-plugin-jane": "^9.0.4",
-    "husky": "^4.3.0",
-    "lemmy-js-client": "^1.0.16",
-    "lint-staged": "^10.5.1",
-    "mini-css-extract-plugin": "^1.3.1",
+    "copy-webpack-plugin": "^8.1.1",
+    "css-loader": "^5.2.0",
+    "eslint": "^7.23.0",
+    "eslint-plugin-prettier": "^3.3.1",
+    "husky": "^6.0.0",
+    "iso-639-1": "^2.1.9",
+    "lemmy-js-client": "0.11.0-rc.6",
+    "lint-staged": "^10.5.4",
+    "mini-css-extract-plugin": "^1.4.1",
     "node-fetch": "^2.6.1",
     "node-sass": "^5.0.0",
-    "prettier": "^2.1.2",
+    "prettier": "^2.2.1",
     "rimraf": "^3.0.2",
     "run-node-webpack-plugin": "^1.3.0",
-    "sass-loader": "^10.1.0",
-    "sortpack": "^2.1.10",
+    "sass-loader": "^11.0.1",
+    "sortpack": "^2.2.0",
     "style-loader": "^2.0.0",
-    "terser": "^5.4.0",
-    "typescript": "^4.0.5",
-    "webpack": "5.5.1",
-    "webpack-cli": "^4.2.0",
-    "webpack-dev-server": "3.11.0",
+    "terser": "^5.6.1",
+    "typescript": "^4.2.3",
+    "webpack": "5.30.0",
+    "webpack-cli": "^4.6.0",
+    "webpack-dev-server": "3.11.2",
     "webpack-node-externals": "^2.5.2"
   },
   "engines": {
     "node": ">=8.9.0"
   },
   "engineStrict": true,
-  "husky": {
-    "hooks": {
-      "pre-commit": "lint-staged"
-    }
-  },
   "lint-staged": {
     "*.{ts,tsx,js}": [
       "prettier --write",