"author": "Dessalines <tyhou13@gmx.com>",
"license": "AGPL-3.0",
"scripts": {
- "build:client:dev": "webpack --env platform=client --mode=development",
- "build:client:prod": "webpack --env platform=client --mode=production",
- "build:dev": "yarn run build:server:dev && yarn run build:client:dev",
- "build:prod": "yarn run build:server:prod && yarn run build:client:prod",
- "build:server:dev": "webpack --env platform=server --mode=development",
- "build:server:prod": "webpack --env platform=server --mode=production",
+ "build:dev": "webpack --mode=development",
+ "build:prod": "webpack --mode=production",
"clean": "yarn run rimraf dist",
- "dev": "nodemon --watch ./src/shared/components -e ts,tsx,css,scss --exec yarn run start",
- "lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
+ "dev": "yarn start",
+ "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",
- "serve": "node dist/js/server.js",
- "start": "yarn run build:dev && yarn run serve"
+ "start": "yarn build:dev --watch"
},
"repository": "https://github.com/LemmyNet/lemmy-ui",
"dependencies": {
- "@typescript-eslint/parser": "^4.5.0",
+ "@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.2",
- "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",
- "isomorphic-ws": "^4.0.1",
- "jwt-decode": "^3.0.0",
- "markdown-it": "^12.0.2",
+ "jwt-decode": "^3.1.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.3.1"
+ "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.1",
+ "@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.8",
- "@types/node": "^14.14.2",
- "@types/node-fetch": "^2.5.7",
- "@types/serialize-javascript": "^4.0.0",
- "babel-loader": "^8.0.6",
+ "@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.2.1",
- "css-loader": "^5.0.0",
- "eslint": "^7.12.0",
- "eslint-plugin-jane": "^9.0.4",
- "husky": "^4.3.0",
- "lemmy-js-client": "^1.0.14",
- "lint-staged": "^10.4.2",
- "mini-css-extract-plugin": "^1.2.0",
+ "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": "^4.12.0",
- "nodemon": "^2.0.6",
- "prettier": "^2.1.2",
+ "node-sass": "^5.0.0",
+ "prettier": "^2.2.1",
"rimraf": "^3.0.2",
- "sass-loader": "^10.0.4",
- "sortpack": "^2.1.9",
+ "run-node-webpack-plugin": "^1.3.0",
+ "sass-loader": "^11.0.1",
+ "sortpack": "^2.2.0",
"style-loader": "^2.0.0",
- "terser": "^5.3.8",
- "typescript": "^4.0.3",
- "webpack": "5.2.0",
- "webpack-cli": "^4.1.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",