3 "version": "0.18.1-rc.3",
4 "description": "An isomorphic UI for lemmy",
5 "repository": "https://github.com/LemmyNet/lemmy-ui",
7 "author": "Dessalines <tyhou13@gmx.com>",
9 "analyze": "webpack --mode=none",
10 "prebuild:dev": "yarn clean && node generate_translations.js",
11 "build:dev": "webpack --mode=development",
12 "prebuild:prod": "yarn clean && node generate_translations.js",
13 "build:prod": "webpack --mode=production",
14 "clean": "yarn run rimraf dist",
15 "dev": "yarn build:dev --watch",
16 "lint": "yarn translations:generate && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx \"src/**\" && prettier --check \"src/**/*.{ts,tsx,js,css,scss}\"",
17 "prepare": "husky install",
18 "themes:build": "sass src/assets/css/themes/:src/assets/css/themes",
19 "themes:watch": "sass --watch src/assets/css/themes/:src/assets/css/themes",
20 "translations:generate": "node generate_translations.js",
21 "translations:init": "git submodule init && yarn translations:update",
22 "translations:update": "git submodule update --remote --recursive"
25 "*.{ts,tsx,js}": ["prettier --write", "eslint --fix"],
26 "*.{css, scss}": ["prettier --write"],
27 "package.json": ["sortpack"]
30 "@babel/plugin-proposal-decorators": "^7.21.0",
31 "@babel/plugin-transform-runtime": "^7.21.4",
32 "@babel/plugin-transform-typescript": "^7.21.3",
33 "@babel/preset-env": "7.21.5",
34 "@babel/preset-typescript": "^7.21.5",
35 "@babel/runtime": "^7.21.5",
36 "@emoji-mart/data": "^1.1.0",
38 "babel-loader": "^9.1.2",
39 "babel-plugin-inferno": "^6.6.0",
40 "bootstrap": "^5.2.3",
41 "check-password-strength": "^2.0.7",
42 "classnames": "^2.3.1",
43 "clean-webpack-plugin": "^4.0.0",
44 "copy-webpack-plugin": "^11.0.0",
45 "cross-fetch": "^3.1.5",
46 "css-loader": "^6.7.3",
47 "date-fns": "^2.30.0",
48 "emoji-mart": "^5.4.0",
49 "emoji-short-name": "^2.0.0",
52 "html-to-text": "^9.0.5",
53 "i18next": "^22.4.15",
55 "inferno-create-element": "^8.1.1",
56 "inferno-helmet": "^5.2.1",
57 "inferno-hydrate": "^8.1.1",
58 "inferno-i18next-dess": "0.0.2",
59 "inferno-router": "^8.1.1",
60 "inferno-server": "^8.1.1",
61 "isomorphic-cookie": "^1.2.4",
62 "jwt-decode": "^3.1.2",
63 "lemmy-js-client": "0.18.0-rc.2",
64 "lodash.isequal": "^4.5.0",
65 "lodash.merge": "^4.6.2",
66 "markdown-it": "^13.0.1",
67 "markdown-it-container": "^3.0.0",
68 "markdown-it-emoji": "^2.0.2",
69 "markdown-it-footnote": "^3.0.3",
70 "markdown-it-html5-embed": "^1.0.0",
71 "markdown-it-sub": "^1.0.0",
72 "markdown-it-sup": "^1.0.0",
73 "mini-css-extract-plugin": "^2.7.5",
74 "register-service-worker": "^1.7.2",
75 "run-node-webpack-plugin": "^1.3.0",
76 "sanitize-html": "^2.10.0",
78 "sass-loader": "^13.2.2",
79 "serialize-javascript": "^6.0.1",
80 "service-worker-webpack": "^1.0.0",
83 "toastify-js": "^1.12.0",
84 "tributejs": "^5.1.3",
86 "webpack-cli": "^5.1.1",
87 "webpack-node-externals": "^3.0.0"
90 "@babel/core": "^7.21.8",
91 "@types/autosize": "^4.0.0",
92 "@types/bootstrap": "^5.2.6",
93 "@types/express": "^4.17.17",
94 "@types/html-to-text": "^9.0.0",
95 "@types/lodash.isequal": "^4.5.6",
96 "@types/markdown-it": "^12.2.3",
97 "@types/markdown-it-container": "^2.0.5",
98 "@types/node": "^20.1.2",
99 "@types/path-browserify": "^1.0.0",
100 "@types/sanitize-html": "^2.9.0",
101 "@types/serialize-javascript": "^5.0.1",
102 "@types/toastify-js": "^1.11.1",
103 "@typescript-eslint/eslint-plugin": "^5.59.5",
104 "@typescript-eslint/parser": "^5.59.5",
106 "eslint-plugin-inferno": "^7.32.2",
107 "eslint-plugin-jsx-a11y": "^6.7.1",
108 "eslint-plugin-prettier": "^4.2.1",
110 "import-sort-style-module": "^6.0.0",
111 "lint-staged": "^13.2.2",
112 "prettier": "^2.8.8",
113 "prettier-plugin-import-sort": "^0.0.7",
114 "prettier-plugin-organize-imports": "^3.2.2",
115 "prettier-plugin-packagejson": "^2.4.3",
117 "sortpack": "^2.3.4",
118 "style-loader": "^3.3.2",
120 "typescript": "^5.0.4",
121 "webpack-bundle-analyzer": "^4.9.0",
122 "webpack-dev-server": "4.15.0"
124 "packageManager": "yarn@1.22.19",
128 "engineStrict": true,
130 ".js, .jsx, .ts, .tsx": {
132 "parser": "typescript"