"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.11.0",
"autosize": "^4.0.2",
"choices.js": "^9.0.1",
"emoji-short-name": "^1.0.0",
"express": "~4.17.1",
- "i18next": "^19.8.2",
+ "i18next": "^19.8.4",
"inferno": "^7.4.6",
"inferno-create-element": "^7.4.6",
"inferno-helmet": "^5.2.1",
"inferno-router": "^7.4.6",
"inferno-server": "^7.4.6",
"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",
+ "register-service-worker": "^1.7.2",
"rxjs": "^6.6.3",
"serialize-javascript": "^5.0.1",
"tippy.js": "^6.2.7",
"toastify-js": "^1.9.3",
"tributejs": "^5.1.3",
- "ws": "^7.3.1"
+ "ws": "^7.4.1"
},
"devDependencies": {
- "@babel/core": "^7.12.3",
- "@babel/plugin-transform-runtime": "^7.12.1",
+ "@babel/core": "^7.12.10",
+ "@babel/plugin-transform-runtime": "^7.12.10",
"@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/preset-env": "7.12.11",
+ "@babel/preset-typescript": "^7.12.7",
+ "@babel/runtime": "^7.12.5",
"@types/autosize": "^3.0.6",
- "@types/express": "^4.17.8",
- "@types/node": "^14.14.2",
+ "@types/express": "^4.17.9",
+ "@types/node": "^14.14.16",
"@types/node-fetch": "^2.5.7",
- "@types/serialize-javascript": "^4.0.0",
- "babel-loader": "^8.0.6",
+ "@types/serialize-javascript": "^5.0.0",
+ "babel-loader": "^8.2.2",
"babel-plugin-inferno": "^6",
"bootstrap": "^4.5.3",
"bootswatch": "^4.5.3",
"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": "^7.0.0",
+ "css-loader": "^5.0.1",
+ "eslint": "^7.16.0",
+ "eslint-plugin-jane": "^9.0.6",
+ "husky": "^4.3.6",
+ "lemmy-js-client": "1.0.17-beta6",
+ "lint-staged": "^10.5.3",
+ "mini-css-extract-plugin": "^1.3.3",
"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": "^10.1.0",
+ "sortpack": "^2.1.11",
"style-loader": "^2.0.0",
- "terser": "^5.3.8",
- "typescript": "^4.0.3",
- "webpack": "5.2.0",
- "webpack-cli": "^4.1.0",
+ "terser": "^5.5.1",
+ "typescript": "^4.1.3",
+ "webpack": "5.11.0",
+ "webpack-cli": "^4.2.0",
"webpack-dev-server": "3.11.0",
"webpack-node-externals": "^2.5.2"
},