3 "version": "0.18.2-rc.1",
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 --env COMMIT_HASH=$(git rev-parse --short HEAD) --mode=development",
12 "prebuild:prod": "yarn clean && node generate_translations.js",
13 "build:prod": "webpack --env COMMIT_HASH=$(git rev-parse --short HEAD) --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.5",
31 "@babel/plugin-transform-runtime": "^7.21.5",
32 "@babel/plugin-transform-typescript": "^7.21.5",
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.3.1",
41 "check-password-strength": "^2.0.7",
42 "classnames": "^2.3.1",
43 "clean-webpack-plugin": "^4.0.0",
45 "copy-webpack-plugin": "^11.0.0",
46 "cross-fetch": "^4.0.0",
47 "css-loader": "^6.7.3",
48 "date-fns": "^2.30.0",
49 "emoji-mart": "^5.4.0",
50 "emoji-short-name": "^2.0.0",
53 "html-to-text": "^9.0.5",
56 "inferno-create-element": "^8.2.2",
57 "inferno-helmet": "^5.2.1",
58 "inferno-hydrate": "^8.2.2",
59 "inferno-i18next-dess": "0.0.2",
60 "inferno-router": "^8.2.2",
61 "inferno-server": "^8.2.2",
62 "jwt-decode": "^3.1.2",
63 "lemmy-js-client": "0.19.0-rc.1",
64 "lodash.isequal": "^4.5.0",
65 "markdown-it": "^13.0.1",
66 "markdown-it-container": "^3.0.0",
67 "markdown-it-emoji": "^2.0.2",
68 "markdown-it-footnote": "^3.0.3",
69 "markdown-it-html5-embed": "^1.0.0",
70 "markdown-it-ruby": "^0.1.1",
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.11.0",
78 "sass-loader": "^13.3.2",
79 "serialize-javascript": "^6.0.1",
80 "service-worker-webpack": "^1.0.0",
82 "toastify-js": "^1.12.0",
83 "tributejs": "^5.1.3",
85 "webpack-cli": "^5.1.4",
86 "webpack-node-externals": "^3.0.0"
89 "@babel/core": "^7.21.5",
90 "@babel/plugin-proposal-class-properties": "^7.18.6",
91 "@types/autosize": "^4.0.0",
92 "@types/bootstrap": "^5.2.6",
93 "@types/cookie": "^0.5.1",
94 "@types/express": "^4.17.17",
95 "@types/html-to-text": "^9.0.0",
96 "@types/lodash.isequal": "^4.5.6",
97 "@types/markdown-it": "^12.2.3",
98 "@types/markdown-it-container": "^2.0.6",
99 "@types/node": "^20.4.5",
100 "@types/path-browserify": "^1.0.0",
101 "@types/sanitize-html": "^2.9.0",
102 "@types/serialize-javascript": "^5.0.1",
103 "@types/toastify-js": "^1.12.0",
104 "@typescript-eslint/eslint-plugin": "^6.2.0",
105 "@typescript-eslint/parser": "^6.2.0",
107 "eslint-plugin-inferno": "^7.32.2",
108 "eslint-plugin-jsx-a11y": "^6.7.1",
109 "eslint-plugin-prettier": "^5.0.0",
111 "import-sort-style-module": "^6.0.0",
112 "lint-staged": "^13.2.3",
113 "prettier": "^3.0.0",
114 "prettier-plugin-import-sort": "^0.0.7",
115 "prettier-plugin-organize-imports": "^3.2.3",
116 "prettier-plugin-packagejson": "^2.4.5",
118 "sortpack": "^2.3.4",
119 "style-loader": "^3.3.2",
121 "typescript": "^5.1.6",
122 "typescript-language-server": "^3.3.2",
123 "webpack-bundle-analyzer": "^4.9.0",
124 "webpack-dev-server": "4.15.1"
126 "packageManager": "yarn@1.22.19",
130 "engineStrict": true,
132 ".js, .jsx, .ts, .tsx": {
134 "parser": "typescript"